From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kever Yang Date: Mon, 5 Aug 2019 20:54:44 +0800 Subject: [U-Boot] [PATCH v2 1/2] arm: dts: rock960: Enable booting from eMMC when using SPL In-Reply-To: <20190729135228.2878-1-manivannan.sadhasivam@linaro.org> References: <20190729135228.2878-1-manivannan.sadhasivam@linaro.org> Message-ID: <9870036c-d5f2-8137-b4e7-b5447a295b96@rock-chips.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On 2019/7/29 下午9:52, Manivannan Sadhasivam 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. While we are at it, > let's also include the common u-boot dtsi for rk3399. > > Signed-off-by: Manivannan Sadhasivam Reviewed-by: Kever Yang Thanks, - Kever > --- > > Changes in v2: > > * Moved the change to -u-boot.dtsi as spotted by Peter. > > arch/arm/dts/rk3399-rock960-u-boot.dtsi | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/arm/dts/rk3399-rock960-u-boot.dtsi b/arch/arm/dts/rk3399-rock960-u-boot.dtsi > index 5256f6d3f2..4850debdf0 100644 > --- a/arch/arm/dts/rk3399-rock960-u-boot.dtsi > +++ b/arch/arm/dts/rk3399-rock960-u-boot.dtsi > @@ -3,4 +3,11 @@ > * Copyright (C) 2019 Jagan Teki > */ > > +#include "rk3399-u-boot.dtsi" > #include "rk3399-sdram-lpddr3-2GB-1600.dtsi" > + > +/ { > + chosen { > + u-boot,spl-boot-order = &sdhci, &sdmmc; > + }; > +};