summaryrefslogtreecommitdiff
path: root/include/configs/MPC837XEMDS.h
diff options
context:
space:
mode:
authorDave Liu <r63238@freescale.com>2008-03-26 22:57:19 +0800
committerKim Phillips <kim.phillips@freescale.com>2008-03-28 14:15:44 -0500
commit2eeb3e4fc54ef2f5d574dafd42c6ce93afa30393 (patch)
treeefdfbbb355692b459b5cd0a5303a9b3279e41d73 /include/configs/MPC837XEMDS.h
parent6f8c85e8d1865730c158d9ef5a06c70c3a10600a (diff)
downloadu-boot-imx-2eeb3e4fc54ef2f5d574dafd42c6ce93afa30393.zip
u-boot-imx-2eeb3e4fc54ef2f5d574dafd42c6ce93afa30393.tar.gz
u-boot-imx-2eeb3e4fc54ef2f5d574dafd42c6ce93afa30393.tar.bz2
mpc83xx: enable the SATA interface on mpc837xemds board
Enable the first two SATA interfaces on MPC837xEMDS board, The two SATA ports are on LYNX1. (SATA0/1 on J4/5) Signed-off-by: Dave Liu <daveliu@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'include/configs/MPC837XEMDS.h')
-rw-r--r--include/configs/MPC837XEMDS.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/configs/MPC837XEMDS.h b/include/configs/MPC837XEMDS.h
index 4006026..7c4e76e 100644
--- a/include/configs/MPC837XEMDS.h
+++ b/include/configs/MPC837XEMDS.h
@@ -395,6 +395,29 @@
#define CONFIG_FSL_SERDES2 0xe3100
/*
+ * 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