diff options
author | Terry Lv <r65388@freescale.com> | 2010-12-07 17:15:07 +0800 |
---|---|---|
committer | Terry Lv <r65388@freescale.com> | 2010-12-10 17:52:42 +0800 |
commit | bb24c00fe03c58f9695b0f68e51f35c6c5982746 (patch) | |
tree | 932b4c0a78729bec2547f382ddfc73c73527739b /common | |
parent | 2f12abe42943096ac433b014ddaa9704682e7951 (diff) | |
download | u-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 'common')
-rw-r--r-- | common/cmd_mmc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/common/cmd_mmc.c b/common/cmd_mmc.c index dab4109..0769cf6 100644 --- a/common/cmd_mmc.c +++ b/common/cmd_mmc.c @@ -141,13 +141,12 @@ static void print_mmcinfo(struct mmc *mmc) printf("High Capacity: %s\n", mmc->high_capacity ? "Yes" : "No"); printf("Capacity: %lld\n", mmc->capacity); -#ifdef CONFIG_EMMC_DDR_MODE if (mmc->bus_width == EMMC_MODE_4BIT_DDR || mmc->bus_width == EMMC_MODE_8BIT_DDR) printf("Bus Width: %d-bit DDR\n", (mmc->bus_width >> 8)); else -#endif - printf("Bus Width: %d-bit\n", mmc->bus_width); + printf("Bus Width: %d-bit\n", mmc->bus_width); + #ifdef CONFIG_BOOT_PARTITION_ACCESS if (mmc->boot_size_mult == 0) { printf("Boot Partition Size: %s\n", "No boot partition available"); |