diff mbox

[U-Boot] rockchip: tinker: configs: use correct mmc instance as boot target device

Message ID 1487560096-10902-1-git-send-email-eddie.cai.linux@gmail.com
State Accepted
Commit 26d5ee8f9b29e06272f8bab052b12df90fe7b6f8
Delegated to: Simon Glass
Headers show

Commit Message

Eddie Cai Feb. 20, 2017, 3:08 a.m. UTC
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>
---
 include/configs/tinker_rk3288.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Simon Glass Feb. 22, 2017, 3:59 a.m. UTC | #1
On 19 February 2017 at 20:08, Eddie Cai <eddie.cai.linux@gmail.com> wrote:
> 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>
> ---
>  include/configs/tinker_rk3288.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Simon Glass <sjg@chromium.org>
Simon Glass Feb. 23, 2017, 4:19 p.m. UTC | #2
On 21 February 2017 at 20:59, Simon Glass <sjg@chromium.org> wrote:
> On 19 February 2017 at 20:08, Eddie Cai <eddie.cai.linux@gmail.com> wrote:
>> 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>
>> ---
>>  include/configs/tinker_rk3288.h | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> Acked-by: Simon Glass <sjg@chromium.org>

Applied to u-boot-rockchip, thanks!
diff mbox

Patch

diff --git a/include/configs/tinker_rk3288.h b/include/configs/tinker_rk3288.h
index 860eb40..c398e07 100644
--- a/include/configs/tinker_rk3288.h
+++ b/include/configs/tinker_rk3288.h
@@ -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