[U-Boot] [U-Boot, 5/8] rockchip: dts: rk3328: enable the drivers need by tpl/spl

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Tue Nov 7 15:10:54 UTC 2017



On Thu, 26 Oct 2017, Kever Yang wrote:

> Enable the drivers need by TPL/SPL with 'u-boot,dm-pre-reloc'.
>
> Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
> ---
>
> arch/arm/dts/rk3328-evb.dts | 2 ++
> arch/arm/dts/rk3328.dtsi    | 1 +
> 2 files changed, 3 insertions(+)
>
> diff --git a/arch/arm/dts/rk3328-evb.dts b/arch/arm/dts/rk3328-evb.dts
> index 7ab8c42..a944697 100644
> --- a/arch/arm/dts/rk3328-evb.dts
> +++ b/arch/arm/dts/rk3328-evb.dts
> @@ -44,6 +44,7 @@
> };
>
> &uart2 {
> +	u-boot,dm-pre-reloc;
> 	status = "okay";
> };
>
> @@ -60,6 +61,7 @@
> };
>
> &emmc {
> +	u-boot,dm-pre-reloc;
> 	bus-width = <8>;
> 	cap-mmc-highspeed;
> 	supports-emmc;

These should go into a "...-u-boot.dtsi" (for an example, please refer to
arch/arm/dts/rk3368-lion-u-boot.dtsi). Thanks.

> diff --git a/arch/arm/dts/rk3328.dtsi b/arch/arm/dts/rk3328.dtsi
> index b821c4c..2a4c492 100644
> --- a/arch/arm/dts/rk3328.dtsi
> +++ b/arch/arm/dts/rk3328.dtsi
> @@ -366,6 +366,7 @@
> 	};
>
> 	cru: clock-controller at ff440000 {
> +		u-boot,dm-pre-reloc;
> 		compatible = "rockchip,rk3328-cru", "rockchip,cru", "syscon";
> 		reg = <0x0 0xff440000 0x0 0x1000>;
> 		rockchip,grf = <&grf>;
>

Same as above.


More information about the U-Boot mailing list