public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] arm: dts: imx8mp: add of-list support to common imx8mp-u-boot.dtsi
@ 2022-04-15 20:41 Tim Harvey
  2022-04-16 12:11 ` Fabio Estevam
  2022-04-22  8:47 ` sbabic
  0 siblings, 2 replies; 3+ messages in thread
From: Tim Harvey @ 2022-04-15 20:41 UTC (permalink / raw)
  To: Stefano Babic, Fabio Estevam, NXP i . MX U-Boot Team, u-boot
  Cc: Peng Fan, Teresa Remmet, Ying-Chun Liu, Marcel Ziswiler,
	Tim Harvey

Add support for OF-LIST to common imx8mp-u-boot.dtsi so that it can
be used with boards that have multiple DTB's.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: NXP i.MX U-Boot Team <uboot-imx@nxp.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Teresa Remmet <t.remmet@phytec.de>
Cc: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com>
---
 arch/arm/dts/imx8mp-u-boot.dtsi | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/arch/arm/dts/imx8mp-u-boot.dtsi b/arch/arm/dts/imx8mp-u-boot.dtsi
index cfc352ae34af..20edd90cfad8 100644
--- a/arch/arm/dts/imx8mp-u-boot.dtsi
+++ b/arch/arm/dts/imx8mp-u-boot.dtsi
@@ -99,8 +99,9 @@
 
 		fit {
 			description = "Configuration to load ATF before U-Boot";
-			#address-cells = <1>;
 			fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
+			fit,fdt-list = "of-list";
+			#address-cells = <1>;
 
 			images {
 				uboot {
@@ -129,7 +130,7 @@
 					};
 				};
 
-				fdt {
+				@fdt-SEQ {
 					description = "NAME";
 					type = "flat_dt";
 					compression = "none";
@@ -141,13 +142,13 @@
 			};
 
 			configurations {
-				default = "conf";
+				default = "@config-DEFAULT-SEQ";
 
-				conf {
+				@config-SEQ {
 					description = "NAME";
+					fdt = "fdt-SEQ";
 					firmware = "uboot";
 					loadables = "atf";
-					fdt = "fdt";
 				};
 			};
 		};
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] arm: dts: imx8mp: add of-list support to common imx8mp-u-boot.dtsi
  2022-04-15 20:41 [PATCH] arm: dts: imx8mp: add of-list support to common imx8mp-u-boot.dtsi Tim Harvey
@ 2022-04-16 12:11 ` Fabio Estevam
  2022-04-22  8:47 ` sbabic
  1 sibling, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2022-04-16 12:11 UTC (permalink / raw)
  To: Tim Harvey
  Cc: Stefano Babic, NXP i . MX U-Boot Team, U-Boot-Denx, Peng Fan,
	Teresa Remmet, Ying-Chun Liu, Marcel Ziswiler

Hi Tim,

On Fri, Apr 15, 2022 at 5:41 PM Tim Harvey <tharvey@gateworks.com> wrote:
>
> Add support for OF-LIST to common imx8mp-u-boot.dtsi so that it can
> be used with boards that have multiple DTB's.
>
> Signed-off-by: Tim Harvey <tharvey@gateworks.com>
> Cc: Fabio Estevam <festevam@gmail.com>
> Cc: NXP i.MX U-Boot Team <uboot-imx@nxp.com>
> Cc: Peng Fan <peng.fan@nxp.com>
> Cc: Teresa Remmet <t.remmet@phytec.de>
> Cc: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
> Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com>

Reviewed-by: Fabio Estevam <festevam@denx.de>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] arm: dts: imx8mp: add of-list support to common imx8mp-u-boot.dtsi
  2022-04-15 20:41 [PATCH] arm: dts: imx8mp: add of-list support to common imx8mp-u-boot.dtsi Tim Harvey
  2022-04-16 12:11 ` Fabio Estevam
@ 2022-04-22  8:47 ` sbabic
  1 sibling, 0 replies; 3+ messages in thread
From: sbabic @ 2022-04-22  8:47 UTC (permalink / raw)
  To: Tim Harvey, u-boot

> Add support for OF-LIST to common imx8mp-u-boot.dtsi so that it can
> be used with boards that have multiple DTB's.
> Signed-off-by: Tim Harvey <tharvey@gateworks.com>
> Cc: Fabio Estevam <festevam@gmail.com>
> Cc: NXP i.MX U-Boot Team <uboot-imx@nxp.com>
> Cc: Peng Fan <peng.fan@nxp.com>
> Cc: Teresa Remmet <t.remmet@phytec.de>
> Cc: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
> Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> Reviewed-by: Fabio Estevam <festevam@denx.de>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-04-22  8:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-15 20:41 [PATCH] arm: dts: imx8mp: add of-list support to common imx8mp-u-boot.dtsi Tim Harvey
2022-04-16 12:11 ` Fabio Estevam
2022-04-22  8:47 ` sbabic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox