]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: imx6: DHCOM i.MX6 PDK: fix board_boot_modes emmc entry
authorClaudius Heine <ch@denx.de>
Tue, 29 Oct 2019 12:17:55 +0000 (13:17 +0100)
committerStefano Babic <sbabic@denx.de>
Sun, 3 Nov 2019 16:04:16 +0000 (17:04 +0100)
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

index 2d0f78da118f512a2f6296cb4ed240ae4f45d297..8dc4b80872928c08bda8aebc592d15df4a2308fc 100644 (file)
@@ -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