All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Pali Rohár" <pali@kernel.org>
To: Niel Fourie <lusus@denx.de>, Wolfgang Denk <wd@denx.de>
Cc: u-boot@lists.denx.de
Subject: [PATCH] powerpc: dts: keymile: Deduplicate binman code
Date: Wed,  3 Aug 2022 13:20:49 +0200	[thread overview]
Message-ID: <20220803112049.4287-1-pali@kernel.org> (raw)

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


             reply	other threads:[~2022-08-03 11:21 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-03 11:20 Pali Rohár [this message]
2022-10-09 12:28 ` [PATCH] powerpc: dts: keymile: Deduplicate binman code 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220803112049.4287-1-pali@kernel.org \
    --to=pali@kernel.org \
    --cc=lusus@denx.de \
    --cc=u-boot@lists.denx.de \
    --cc=wd@denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.