]> code.ossystems Code Review - bsp/u-boot.git/commitdiff
wandboard: Fix mmcroot device name 2016.07+ossystems
authorOtavio Salvador <otavio@ossystems.com.br>
Wed, 17 Aug 2016 19:46:43 +0000 (16:46 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 17 Aug 2016 19:46:43 +0000 (16:46 -0300)
The kernel uses the SoM uSD as mmcblk2, this commit changes the
mmcroot for this value allowing the generated image to boot out of
box.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
include/configs/wandboard.h

index d2e7e456360282cc7ffeab13b46555e6c896fe6e..41ad58214a848bd06707f0cae985ec93a82ff728 100644 (file)
        "ip_dyn=yes\0" \
        "mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \
        "mmcpart=1\0" \
-       "mmcroot=/dev/mmcblk0p2 rootwait rw\0" \
+       "mmcroot=/dev/mmcblk2p2 rootwait rw\0" \
        "update_sd_firmware_filename=u-boot.imx\0" \
        "update_sd_firmware=" \
                "if test ${ip_dyn} = yes; then " \