Message ID | 1579954983-11329-7-git-send-email-amittomer25@gmail.com |
---|---|
State | Deferred |
Delegated to: | Tom Rini |
Headers | show |
Series | Actions S700 SoC support | expand |
On Sat, Jan 25, 2020 at 05:52:48PM +0530, Amit Singh Tomar wrote: > Devices like uart and clk are needed to be enabled before relocation. > this patch adds u-boot.dtsi file that mark these device as dm-pre-reloc. > > Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com> > --- > Changes since v2: > * Added License. > Changes since v1: > * This is newly added file that was *not* present in v1 and > contains u-boot specific changes. > --- > arch/arm/dts/s700-u-boot.dtsi | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > create mode 100644 arch/arm/dts/s700-u-boot.dtsi > > diff --git a/arch/arm/dts/s700-u-boot.dtsi b/arch/arm/dts/s700-u-boot.dtsi > new file mode 100644 > index 0000000..a527ccc > --- /dev/null > +++ b/arch/arm/dts/s700-u-boot.dtsi > @@ -0,0 +1,18 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +/* > + * Copyright (C) 2020 Amit Singh Tomar <amittomer25@gmail.com> > + */ > + > +/{ > + soc { > + u-boot,dm-pre-reloc; What is this for? Thanks, Mani > + }; > +}; > + > +&uart3 { > + u-boot,dm-pre-reloc; > +}; > + > +&cmu { > + u-boot,dm-pre-reloc; > +}; > -- > 2.7.4 >
diff --git a/arch/arm/dts/s700-u-boot.dtsi b/arch/arm/dts/s700-u-boot.dtsi new file mode 100644 index 0000000..a527ccc --- /dev/null +++ b/arch/arm/dts/s700-u-boot.dtsi @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2020 Amit Singh Tomar <amittomer25@gmail.com> + */ + +/{ + soc { + u-boot,dm-pre-reloc; + }; +}; + +&uart3 { + u-boot,dm-pre-reloc; +}; + +&cmu { + u-boot,dm-pre-reloc; +};
Devices like uart and clk are needed to be enabled before relocation. this patch adds u-boot.dtsi file that mark these device as dm-pre-reloc. Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com> --- Changes since v2: * Added License. Changes since v1: * This is newly added file that was *not* present in v1 and contains u-boot specific changes. --- arch/arm/dts/s700-u-boot.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 arch/arm/dts/s700-u-boot.dtsi