summaryrefslogtreecommitdiff
path: root/include/configs/MPC837XERDB.h
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2008-03-28 14:31:23 -0500
committerKim Phillips <kim.phillips@freescale.com>2008-03-28 14:31:23 -0500
commit730e792926ca3fe4dd1b734a3bf44e55afa6f536 (patch)
tree5a0a915c1231d17f50dc5ed6bcd194b57cf1351a /include/configs/MPC837XERDB.h
parent2eeb3e4fc54ef2f5d574dafd42c6ce93afa30393 (diff)
downloadu-boot-imx-730e792926ca3fe4dd1b734a3bf44e55afa6f536.zip
u-boot-imx-730e792926ca3fe4dd1b734a3bf44e55afa6f536.tar.gz
u-boot-imx-730e792926ca3fe4dd1b734a3bf44e55afa6f536.tar.bz2
mpc83xx: enable the SATA interface on mpc8315 rdb and mpc837x rdb boards
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'include/configs/MPC837XERDB.h')
-rw-r--r--include/configs/MPC837XERDB.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/configs/MPC837XERDB.h b/include/configs/MPC837XERDB.h
index 90812e9..eaac525 100644
--- a/include/configs/MPC837XERDB.h
+++ b/include/configs/MPC837XERDB.h
@@ -416,6 +416,29 @@
#endif
/*
+ * SATA
+ */
+#define CONFIG_LIBATA
+#define CONFIG_FSL_SATA
+
+#define CFG_SATA_MAX_DEVICE 2
+#define CONFIG_SATA1
+#define CFG_SATA1_OFFSET 0x18000
+#define CFG_SATA1 (CFG_IMMR + CFG_SATA1_OFFSET)
+#define CFG_SATA1_FLAGS FLAGS_DMA
+#define CONFIG_SATA2
+#define CFG_SATA2_OFFSET 0x19000
+#define CFG_SATA2 (CFG_IMMR + CFG_SATA2_OFFSET)
+#define CFG_SATA2_FLAGS FLAGS_DMA
+
+#ifdef CONFIG_FSL_SATA
+#define CONFIG_LBA48
+#define CONFIG_CMD_SATA
+#define CONFIG_DOS_PARTITION
+#define CONFIG_CMD_EXT2
+#endif
+
+/*
* Environment
*/
#ifndef CFG_RAMBOOT