Skip to contentSkip to conversation

arm: dts: imx8mp: add of-list support to common imx8mp-u-boot.dtsi

PATCH In review Tim Harvey 3 participants 3 messages Apr 15, 2022 – Apr 22, 2022

Subsystems (2)
lore
Share & tools
lore

Tim Harvey

author
#0 lore raw

PATCH 1/1 arm: dts: imx8mp: add of-list support to common imx8mp-u-boot.dtsi

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

Cc Fabio Estevam <[email protected]>
Cc NXP i.MX U-Boot Team <[email protected]>
Cc Peng Fan <[email protected]>
Cc Teresa Remmet <[email protected]>
Cc Ying-Chun Liu (PaulLiu) <[email protected]>
Cc Marcel Ziswiler <[email protected]>
---
 arch/arm/dts/imx8mp-u-boot.dtsi | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
arch/arm/dts/imx8mp-u-boot.dtsi +6 -5
index cfc352ae34af..20edd90cfad8 100644
@@ -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";
 				};
 			};
 		};
Signature · 1 line
2.17.1
reviewer Reviewed-by on v1 1/1
#1 lore raw

Hi Tim,

Quoted 11 lines · 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.

Cc Fabio Estevam <[email protected]>
Cc NXP i.MX U-Boot Team <[email protected]>
Cc Peng Fan <[email protected]>
Cc Teresa Remmet <[email protected]>
Cc Ying-Chun Liu (PaulLiu) <[email protected]>
Cc Marcel Ziswiler <[email protected]>
#2 lore raw

PATCH 1/1 arm: dts: imx8mp: add of-list support to common imx8mp-u-boot.dtsi

In reply to Tim Harvey
Quoted 10 lines

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

Cc Fabio Estevam <[email protected]>
Cc NXP i.MX U-Boot Team <[email protected]>
Cc Peng Fan <[email protected]>
Cc Teresa Remmet <[email protected]>
Cc Ying-Chun Liu (PaulLiu) <[email protected]>
Cc Marcel Ziswiler <[email protected]>

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
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: [email protected]
=====================================================================