]> git.sur5r.net Git - u-boot/commitdiff
rockchip: tinker: configs: use correct mmc instance as boot target device
authorEddie Cai <eddie.cai.linux@gmail.com>
Mon, 20 Feb 2017 03:08:16 +0000 (11:08 +0800)
committerSimon Glass <sjg@chromium.org>
Thu, 16 Mar 2017 22:03:45 +0000 (16:03 -0600)
We are using wrong mmc instance as boot target device now. below Jaehoon Chung's
patch use mmc alias which correct it. That make tinker board can not find mmc
device. So give it correct mmc device instance.

        commit 02ad33aa3a84821c8d9a6c4f167f143f6248b084
        Author: Jaehoon Chung <jh80.chung@samsung.com>
        Date:   Thu Feb 2 13:41:14 2017 +0900

            mmc: mmc-uclass: use the fixed devnum with alias node

Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
include/configs/tinker_rk3288.h

index 860eb404fbff8f1e8baec99aeb89cfa78f9c285c..c398e072d2c00ef9cd626ae598f2dc18451f96a6 100644 (file)
@@ -13,7 +13,7 @@
 #undef BOOT_TARGET_DEVICES
 
 #define BOOT_TARGET_DEVICES(func) \
-       func(MMC, mmc, 0)
+       func(MMC, mmc, 1)
 
 #define CONFIG_ENV_IS_IN_MMC
 #define CONFIG_SYS_MMC_ENV_DEV 0