imx: MX6DQ{P}/DL:SABRESD Fix bmode eMMC failure
PATCH 1/1 imx: MX6DQ{P}/DL:SABRESD Fix bmode eMMC failure
From: Ye Li <[email protected]>
The BOOTCFG value used by bmode for SABRESD eMMC boot are actually for SD card. Fixed the value to correct one.
The issue was fixed in 2014.04 u-boot, but that patch seems missed during porting to 2015.04.
--- board/freescale/mx6sabresd/mx6sabresd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
board/freescale/mx6sabresd/mx6sabresd.c +1 -1
@@ -638,7 +638,7 @@ static const struct boot_mode board_boot_modes[] = { {"sd2", MAKE_CFGVAL(0x40, 0x28, 0x00, 0x00)}, {"sd3", MAKE_CFGVAL(0x40, 0x30, 0x00, 0x00)}, /* 8 bit bus width */ - {"emmc", MAKE_CFGVAL(0x40, 0x38, 0x00, 0x00)}, + {"emmc", MAKE_CFGVAL(0x60, 0x58, 0x00, 0x00)}, {NULL, 0}, }; #endif
Signature · 1 line
2.6.2
PATCH 1/1 imx: MX6DQ{P}/DL:SABRESD Fix bmode eMMC failure
Hi Peng,
Quoted 7 lines · Peng Fan
From: Ye Li <[email protected]>
The BOOTCFG value used by bmode for SABRESD eMMC boot are actually for SD card. Fixed the value to correct one.
The issue was fixed in 2014.04 u-boot, but that patch seems missed during porting to 2015.04.
I would remove this last sentence as it applies to NXP U-boot release, right?
Otherwise the patch looks good.
PATCH 1/1 imx: MX6DQ{P}/DL:SABRESD Fix bmode eMMC failure
In reply to Peng FanQuoted 22 lines · Peng Fan
From: Ye Li <[email protected]>
The BOOTCFG value used by bmode for SABRESD eMMC boot are actually for SD card. Fixed the value to correct one.
The issue was fixed in 2014.04 u-boot, but that patch seems missed during porting to 2015.04.
Signed-off-by Ye Li <[email protected]>Signed-off-by Peng Fan <[email protected]>Cc Stefano Babic <[email protected]>Cc Fabio Estevam <[email protected]>--- board/freescale/mx6sabresd/mx6sabresd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)board/freescale/mx6sabresd/mx6sabresd.c +0
-0
board/freescale/mx6sabresd/mx6sabresd.c static const struct boot_mode board_boot_modes[] = { · line 644
Quoted 8 lines
board/freescale/mx6sabresd/mx6sabresd.c +1
-1@@ -638,7 +638,7 @@ static const struct boot_mode board_boot_modes[] = { {"sd2", MAKE_CFGVAL(0x40, 0x28, 0x00, 0x00)}, {"sd3", MAKE_CFGVAL(0x40, 0x30, 0x00, 0x00)}, /* 8 bit bus width */ - {"emmc", MAKE_CFGVAL(0x40, 0x38, 0x00, 0x00)}, + {"emmc", MAKE_CFGVAL(0x60, 0x58, 0x00, 0x00)}, {NULL, 0}, }; #endif
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================