diff options
author | Terry Lv <r65388@freescale.com> | 2011-03-29 21:15:39 +0800 |
---|---|---|
committer | Terry Lv <r65388@freescale.com> | 2011-04-11 12:52:12 +0800 |
commit | 9576d798ae1f6e3d67992553875159703b2eea93 (patch) | |
tree | c84ee51150c5688f64263f552551d876fb18b056 /board/freescale | |
parent | e8bbf29eaca7aa59eba25e122056f4fb7e0e3f09 (diff) | |
download | u-boot-imx-9576d798ae1f6e3d67992553875159703b2eea93.zip u-boot-imx-9576d798ae1f6e3d67992553875159703b2eea93.tar.gz u-boot-imx-9576d798ae1f6e3d67992553875159703b2eea93.tar.bz2 |
ENGR00141335-3: Add CONFIG_EMMC_DDR_PORT_DETECT to mx53 and mx50config files
Add CONFIG_EMMC_DDR_PORT_DETECT to mx53 and mx50 config files.
For fastboot, please note that the bit width of card should match the
dip settings.
For example, if mmcinfo shows eMMC 4.4 card is 8Bit DDR, then dip
settings should be 8bit DDR. Then fastboot can work. Otherwise, fastboot
will fail.
Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'board/freescale')
-rw-r--r-- | board/freescale/mx50_rdp/mx50_rdp.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/board/freescale/mx50_rdp/mx50_rdp.c b/board/freescale/mx50_rdp/mx50_rdp.c index 340157f..a00f6c9 100644 --- a/board/freescale/mx50_rdp/mx50_rdp.c +++ b/board/freescale/mx50_rdp/mx50_rdp.c @@ -783,6 +783,12 @@ int get_mmc_env_devno(void) } #endif +#ifdef CONFIG_EMMC_DDR_PORT_DETECT +int detect_mmc_emmc_ddr_port(struct fsl_esdhc_cfg *cfg) +{ + return (MMC_SDHC3_BASE_ADDR == cfg->esdhc_base) ? 1 : 0; +} +#endif int esdhc_gpio_init(bd_t *bis) { |