summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2015-01-29 10:38:20 (GMT)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2015-01-29 12:11:02 (GMT)
commitba21a453a58fc02b890f4064b293b1cb09fe7484 (patch)
tree0d58a392c462c7ebf135a1286e97e051d2391158 /arch/mips
parent8755d50706742e4d302a335f4e69dd6430ec12a2 (diff)
downloadu-boot-ba21a453a58fc02b890f4064b293b1cb09fe7484.tar.xz
malta: IDE support
This patch adds IDE support to the MIPS Malta board. The IDE controller is enabled after probing the PCI bus and otherwise just makes use of U-boot generic IDE support. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/include/asm/malta.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/include/asm/malta.h b/arch/mips/include/asm/malta.h
index 9e7c045..d9ffc15 100644
--- a/arch/mips/include/asm/malta.h
+++ b/arch/mips/include/asm/malta.h
@@ -64,4 +64,9 @@
#define PCI_CFG_PIIX4_GENCFG_SERIRQ (1 << 16)
+#define PCI_CFG_PIIX4_IDETIM_PRI 0x40
+#define PCI_CFG_PIIX4_IDETIM_SEC 0x42
+
+#define PCI_CFG_PIIX4_IDETIM_IDE (1 << 15)
+
#endif /* _MIPS_ASM_MALTA_H */