summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTerry Lv <r65388@freescale.com>2010-12-07 17:15:07 +0800
committerTerry Lv <r65388@freescale.com>2010-12-10 17:52:42 +0800
commitbb24c00fe03c58f9695b0f68e51f35c6c5982746 (patch)
tree932b4c0a78729bec2547f382ddfc73c73527739b /include
parent2f12abe42943096ac433b014ddaa9704682e7951 (diff)
downloadu-boot-imx-bb24c00fe03c58f9695b0f68e51f35c6c5982746.zip
u-boot-imx-bb24c00fe03c58f9695b0f68e51f35c6c5982746.tar.gz
u-boot-imx-bb24c00fe03c58f9695b0f68e51f35c6c5982746.tar.bz2
ENGR00136038: Remove config CONFIG_EMMC_DDR_MODE
1. As we can check DDR dynamically, remove CONFIG_EMMC_DDR_MODE in mmc.c. 2. Add config CONFIG_EMMC_DDR_PORT_DETECT config for some boards that only some board support DDR. Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mx53_arm2.h3
-rw-r--r--include/configs/mx53_arm2_ddr3.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/include/configs/mx53_arm2.h b/include/configs/mx53_arm2.h
index f69193d..061ee68 100644
--- a/include/configs/mx53_arm2.h
+++ b/include/configs/mx53_arm2.h
@@ -168,7 +168,7 @@
/*
* FUSE Configs
* */
-#ifdef CONFIG_CMD_MMC
+#ifdef CONFIG_CMD_IIM
#define CONFIG_IMX_IIM
#define IMX_IIM_BASE IIM_BASE_ADDR
#define CONFIG_IIM_MAC_BANK 1
@@ -213,6 +213,7 @@
#define CONFIG_CMD_EXT2 1
#define CONFIG_BOOT_PARTITION_ACCESS
+ #define CONFIG_EMMC_DDR_PORT_DETECT
#define CONFIG_DYNAMIC_MMC_DEVNO
#endif
diff --git a/include/configs/mx53_arm2_ddr3.h b/include/configs/mx53_arm2_ddr3.h
index 6cfb493..b131bea 100644
--- a/include/configs/mx53_arm2_ddr3.h
+++ b/include/configs/mx53_arm2_ddr3.h
@@ -166,7 +166,7 @@
/*
* FUSE Configs
* */
-#ifdef CONFIG_CMD_MMC
+#ifdef CONFIG_CMD_IIM
#define CONFIG_IMX_IIM
#define IMX_IIM_BASE IIM_BASE_ADDR
#define CONFIG_IIM_MAC_BANK 1
@@ -210,6 +210,7 @@
#define CONFIG_CMD_FAT 1
#define CONFIG_CMD_EXT2 1
#define CONFIG_BOOT_PARTITION_ACCESS
+ #define CONFIG_EMMC_DDR_PORT_DETECT
#define CONFIG_DYNAMIC_MMC_DEVNO
#endif
/*-----------------------------------------------------------------------