diff mbox series

[U-Boot,v2,1/3] ARM: imx6: DHCOM i.MX6 PDK: fix board_boot_modes emmc entry

Message ID 20191029121759.3582464-1-ch@denx.de
State Accepted
Commit 5331fadbfc19e8786e7710f1a9858ac47b4ffda8
Delegated to: Stefano Babic
Headers show
Series [U-Boot,v2,1/3] ARM: imx6: DHCOM i.MX6 PDK: fix board_boot_modes emmc entry | expand

Commit Message

Claudius Heine Oct. 29, 2019, 12:17 p.m. UTC
The board_boot_modes contained the wrong values for the emmc entry.

The eMMC here is connected over a 8-bit bus.

This change allows to use the 'bmode emmc' command to boot from emmc.

Signed-off-by: Claudius Heine <ch@denx.de>
---
 board/dhelectronics/dh_imx6/dh_imx6.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stefano Babic Nov. 4, 2019, 8:55 a.m. UTC | #1
> The board_boot_modes contained the wrong values for the emmc entry.
> The eMMC here is connected over a 8-bit bus.
> This change allows to use the 'bmode emmc' command to boot from emmc.
> Signed-off-by: Claudius Heine <ch@denx.de>

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/board/dhelectronics/dh_imx6/dh_imx6.c b/board/dhelectronics/dh_imx6/dh_imx6.c
index 2d0f78da11..8dc4b80872 100644
--- a/board/dhelectronics/dh_imx6/dh_imx6.c
+++ b/board/dhelectronics/dh_imx6/dh_imx6.c
@@ -197,7 +197,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