]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc: dts: keymile: Deduplicate binman code
authorPali Rohár <pali@kernel.org>
Wed, 3 Aug 2022 11:20:49 +0000 (13:20 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 2 Jan 2023 19:06:31 +0000 (14:06 -0500)
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>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
arch/powerpc/dts/kmcent2-u-boot.dtsi

index 53bac5533f2427c9fa7c937d4134a6b51813b3a9..d0277627644b86709c87f2a6aa294676ac54fea3 100644 (file)
                compatible = "fsl,pcie-t104x";
                law_trgt_if = <0>;
        };
-
-       binman {
-               filename = "u-boot.bin";
-               skip-at-start = <CONFIG_TEXT_BASE>;
-               sort-by-offset;
-               pad-byte = <0xff>;
-               size = <CONFIG_SYS_MONITOR_LEN>;
-
-               u-boot-with-ucode-ptr {
-                       offset = <CONFIG_TEXT_BASE>;
-                       optional-ucode;
-               };
-
-               u-boot-dtb-with-ucode {
-                       align = <256>;
-               };
-               powerpc-mpc85xx-bootpg-resetvec {
-                       offset = <(CFG_RESET_VECTOR_ADDRESS - 0xffc)>;
-               };
-       };
 };
+
+#include "u-boot.dtsi"