summaryrefslogtreecommitdiffstats
path: root/include/configs/MPC8536DS.h
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2008-10-30 16:51:33 -0500
committerAndy Fleming <afleming@freescale.com>2009-02-16 18:07:43 -0600
commit80522dc8369a89938369fbcee572e662373bc9a3 (patch)
treea2aeb1c78f972249371fa4cbf309ac55a653e7ca /include/configs/MPC8536DS.h
parent50586ef24ed5caf6ce5591df76f355009da2cd79 (diff)
downloadbootable_bootloader_goldelico_gta04-80522dc8369a89938369fbcee572e662373bc9a3.zip
bootable_bootloader_goldelico_gta04-80522dc8369a89938369fbcee572e662373bc9a3.tar.gz
bootable_bootloader_goldelico_gta04-80522dc8369a89938369fbcee572e662373bc9a3.tar.bz2
85xx: Add eSDHC support for 8536 DS
Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'include/configs/MPC8536DS.h')
-rw-r--r--include/configs/MPC8536DS.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/configs/MPC8536DS.h b/include/configs/MPC8536DS.h
index e379d53..bbb448d 100644
--- a/include/configs/MPC8536DS.h
+++ b/include/configs/MPC8536DS.h
@@ -72,6 +72,8 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
#define CONFIG_L2_CACHE /* toggle L2 cache */
#define CONFIG_BTB /* toggle branch predition */
+#define CONFIG_BOARD_EARLY_INIT_F 1 /* Call board_pre_init */
+
#define CONFIG_ENABLE_36BIT_PHYS 1
#define CONFIG_SYS_MEMTEST_START 0x00000000 /* memtest works on */
@@ -528,6 +530,18 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
#undef CONFIG_WATCHDOG /* watchdog disabled */
+#define CONFIG_MMC 1
+
+#ifdef CONFIG_MMC
+#define CONFIG_FSL_ESDHC
+#define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC85xx_ESDHC_ADDR
+#define CONFIG_CMD_MMC
+#define CONFIG_GENERIC_MMC
+#define CONFIG_CMD_EXT2
+#define CONFIG_CMD_FAT
+#define CONFIG_DOS_PARTITION
+#endif
+
/*
* Miscellaneous configurable options
*/