[U-Boot] [PATCH] rockchip: dts: rk3399: Add spl-boot-order for Rock PI 4

Kever Yang kever.yang at rock-chips.com
Mon Jul 15 12:29:01 UTC 2019


Hi Andy,

On 2019/7/4 下午2:52, Andy Yan wrote:
> RK3399 use sdhci for eMMC and DW MMC for SD Card, and
> spl will only try to boot from SDMMC if we don't specify
> other boot device for spl-boot-order. So add sdhci and sdmmc
> for spl-boot-order here.
>
> Signed-off-by: Andy Yan <andy.yan at rock-chips.com>


Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,

- Kever

> ---
>
>   arch/arm/dts/rk3399-rock-pi-4-u-boot.dtsi | 5 +++++
>   1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm/dts/rk3399-rock-pi-4-u-boot.dtsi b/arch/arm/dts/rk3399-rock-pi-4-u-boot.dtsi
> index 7bddc3acdb..30f2b5f479 100644
> --- a/arch/arm/dts/rk3399-rock-pi-4-u-boot.dtsi
> +++ b/arch/arm/dts/rk3399-rock-pi-4-u-boot.dtsi
> @@ -4,3 +4,8 @@
>    */
>   
>   #include "rk3399-u-boot.dtsi"
> +/ {
> +	chosen {
> +		u-boot,spl-boot-order = &sdhci, &sdmmc;
> +	};
> +};




More information about the U-Boot mailing list