[PATCH] powerpc: dts: keymile: Deduplicate binman code
Pali Rohár
pali at kernel.org
Sun Oct 9 14:28:19 CEST 2022
PING?
On Wednesday 03 August 2022 13:20:49 Pali Rohár wrote:
> 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 at 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
>
More information about the U-Boot
mailing list