[U-Boot] [PATCH 2/2] arm: dts: ficus: Enable booting from eMMC when using SPL

Peter Robinson pbrobinson at gmail.com
Wed Jul 24 08:03:04 UTC 2019


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
> Ficus 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-ficus-u-boot.dtsi | 1 +
>  arch/arm/dts/rk3399-ficus.dts         | 2 ++
>  2 files changed, 3 insertions(+)
>
> diff --git a/arch/arm/dts/rk3399-ficus-u-boot.dtsi b/arch/arm/dts/rk3399-ficus-u-boot.dtsi
> index eab86bdb30..67b63a8352 100644
> --- a/arch/arm/dts/rk3399-ficus-u-boot.dtsi
> +++ b/arch/arm/dts/rk3399-ficus-u-boot.dtsi
> @@ -3,4 +3,5 @@
>   * Copyright (C) 2019 Jagan Teki <jagan at amarulasolutions.com>
>   */
>
> +#include "rk3399-u-boot.dtsi"
>  #include "rk3399-sdram-ddr3-1600.dtsi"
> diff --git a/arch/arm/dts/rk3399-ficus.dts b/arch/arm/dts/rk3399-ficus.dts
> index 4b2dd82b67..0f219f4a9c 100644
> --- a/arch/arm/dts/rk3399-ficus.dts
> +++ b/arch/arm/dts/rk3399-ficus.dts
> @@ -15,6 +15,8 @@
>
>         chosen {
>                 stdout-path = "serial2:1500000n8";
> +               u-boot,spl-boot-order = \
> +                       &sdhci, &sdmmc;

Shouldn't this be in the rk3399-ficus-u-boot.dtsi above? It would get
lost with a resync of dts files from linux.

>         };
>
>         clkin_gmac: external-gmac-clock {
> --
> 2.17.1
>


More information about the U-Boot mailing list