[U-Boot] [PATCH 1/2] arm: dts: rock960: Enable booting from eMMC when using SPL
Manivannan Sadhasivam
manivannan.sadhasivam at linaro.org
Wed Jul 24 09:13:49 UTC 2019
Hi Peter,
On 24 July 2019 1:29:27 PM IST, Peter Robinson <pbrobinson at gmail.com> wrote:
>On Mon, May 20, 2019 at 4:47 PM Manivannan Sadhasivam
><manivannan.sadhasivam at linaro.org> wrote:
>>
>> This commits enables booting from eMMC when using SPL on 96Boards
>> Rock960 board by adding SDHCI to boot order. Since the SDHCI driver
>> already has the reloc flag, this works straightaway.
>>
>> Signed-off-by: Manivannan Sadhasivam
><manivannan.sadhasivam at linaro.org>
>> ---
>> arch/arm/dts/rk3399-rock960-u-boot.dtsi | 1 +
>> arch/arm/dts/rk3399-rock960.dts | 2 ++
>> 2 files changed, 3 insertions(+)
>>
>> diff --git a/arch/arm/dts/rk3399-rock960-u-boot.dtsi
>b/arch/arm/dts/rk3399-rock960-u-boot.dtsi
>> index 5256f6d3f2..7fb5072a9b 100644
>> --- a/arch/arm/dts/rk3399-rock960-u-boot.dtsi
>> +++ b/arch/arm/dts/rk3399-rock960-u-boot.dtsi
>> @@ -3,4 +3,5 @@
>> * Copyright (C) 2019 Jagan Teki <jagan at amarulasolutions.com>
>> */
>>
>> +#include "rk3399-u-boot.dtsi"
>> #include "rk3399-sdram-lpddr3-2GB-1600.dtsi"
>> diff --git a/arch/arm/dts/rk3399-rock960.dts
>b/arch/arm/dts/rk3399-rock960.dts
>> index 7e06bc97e5..c8b9075c73 100644
>> --- a/arch/arm/dts/rk3399-rock960.dts
>> +++ b/arch/arm/dts/rk3399-rock960.dts
>> @@ -12,6 +12,8 @@
>>
>> chosen {
>> stdout-path = "serial2:1500000n8";
>> + u-boot,spl-boot-order = \
>> + &sdhci, &sdmmc;
>
>Shouldn't this bit be in the rk3399-rock960-u-boot.dtsi not
>rk3399-rock960.dts because it's U-Boot specific?
>
Good catch! Will fix this and send next revision.
Thanks,
Mani
>> };
>> };
>>
>> --
>> 2.17.1
>>
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
More information about the U-Boot
mailing list