Message ID | 1583949861-19143-9-git-send-email-amittomer25@gmail.com |
---|---|
State | Superseded |
Headers | show |
Series | Actions S700 SoC support | expand |
On Wed, 11 Mar 2020 23:34:18 +0530 Amit Singh Tomar <amittomer25 at gmail.com> 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 at gmail.com> Reviewed-by: Andre Przywara <andre.przywara at arm.com> Cheers, Andre > --- > Changes since v4: > * Moved it to 08/11 to 06/11. > Changes since v3: > * Replaced dtsi with dts in subject line along with arm:dts: > to the prefix. > 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 at gmail.com> > + */ > + > +/{ > + soc { > + u-boot,dm-pre-reloc; > + }; > +}; > + > +&uart3 { > + u-boot,dm-pre-reloc; > +}; > + > +&cmu { > + u-boot,dm-pre-reloc; > +};
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 at 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 at gmail.com> --- Changes since v4: * Moved it to 08/11 to 06/11. Changes since v3: * Replaced dtsi with dts in subject line along with arm:dts: to the prefix. 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