public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] powerpc: dts: keymile: Deduplicate binman code
@ 2022-08-03 11:20 Pali Rohár
  2022-10-09 12:28 ` Pali Rohár
  2023-01-03 15:41 ` Tom Rini
  0 siblings, 2 replies; 15+ messages in thread
From: Pali Rohár @ 2022-08-03 11:20 UTC (permalink / raw)
  To: Niel Fourie, Wolfgang Denk; +Cc: u-boot

kmcent2-u-boot.dtsi file contains copy of powerpc u-boot.dtsi binman file.
So remove code duplication and replace it by including u-boot.dtsi file.

Signed-off-by: Pali Rohár <pali@kernel.org>
---
 arch/powerpc/dts/kmcent2-u-boot.dtsi | 22 ++--------------------
 1 file changed, 2 insertions(+), 20 deletions(-)

diff --git a/arch/powerpc/dts/kmcent2-u-boot.dtsi b/arch/powerpc/dts/kmcent2-u-boot.dtsi
index ab76a9f1226c..d0277627644b 100644
--- a/arch/powerpc/dts/kmcent2-u-boot.dtsi
+++ b/arch/powerpc/dts/kmcent2-u-boot.dtsi
@@ -74,24 +74,6 @@
 		compatible = "fsl,pcie-t104x";
 		law_trgt_if = <0>;
 	};
-
-	binman {
-		filename = "u-boot-with-dtb.bin";
-		skip-at-start = <CONFIG_SYS_TEXT_BASE>;
-		sort-by-offset;
-		pad-byte = <0xff>;
-		size = <CONFIG_SYS_MONITOR_LEN>;
-
-		u-boot-with-ucode-ptr {
-			offset = <CONFIG_SYS_TEXT_BASE>;
-			optional-ucode;
-		};
-
-		u-boot-dtb-with-ucode {
-			align = <256>;
-		};
-		powerpc-mpc85xx-bootpg-resetvec {
-			offset = <(CONFIG_RESET_VECTOR_ADDRESS - 0xffc)>;
-		};
-	};
 };
+
+#include "u-boot.dtsi"
-- 
2.20.1


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

end of thread, other threads:[~2023-01-03 15:41 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-03 11:20 [PATCH] powerpc: dts: keymile: Deduplicate binman code Pali Rohár
2022-10-09 12:28 ` Pali Rohár
2022-11-01 22:57   ` Pali Rohár
2022-11-21 17:40     ` Pali Rohár
2022-12-16 18:16       ` Pali Rohár
2022-12-16 18:35         ` Simon Glass
2022-12-16 22:00           ` Pali Rohár
2022-12-17 21:40             ` Simon Glass
2022-12-17 22:15         ` Pali Rohár
2022-12-18  9:29           ` Christophe Leroy
2022-12-18 10:59             ` Pali Rohár
2022-12-18 11:04               ` Christophe Leroy
2022-12-24 18:37                 ` Pali Rohár
2022-12-24 23:30                   ` Tom Rini
2023-01-03 15:41 ` Tom Rini

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