From: Simon Glass Date: Wed, 1 Feb 2023 20:20:16 +0000 (-0700) Subject: ppc: Makefile: Drop unused ppc4xx code X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=5c63b5a87fb44aadb1d4bceef8204c70b8ce2eb0;p=u-boot.git ppc: Makefile: Drop unused ppc4xx code CONFIG_UBOOT_PAD_TO is not defined anywhere. Drop this dead code. Signed-off-by: Simon Glass Reviewed-by: Stefan Roese --- diff --git a/Makefile b/Makefile index 695b798a4a..86e0730f0c 100644 --- a/Makefile +++ b/Makefile @@ -1652,17 +1652,6 @@ OBJCOPYFLAGS_u-boot-with-spl-pbl.bin = -I binary -O binary --pad-to=$(CONFIG_SPL u-boot-with-spl-pbl.bin: spl/u-boot-spl.pbl $(UBOOT_BINLOAD) FORCE $(call if_changed,pad_cat) -# PPC4xx needs the SPL at the end of the image, since the reset vector -# is located at 0xfffffffc. So we can't use the "u-boot-img.bin" target -# and need to introduce a new build target with the full blown U-Boot -# at the start padded up to the start of the SPL image. And then concat -# the SPL image to the end. - -OBJCOPYFLAGS_u-boot-img-spl-at-end.bin := -I binary -O binary \ - --pad-to=$(CONFIG_UBOOT_PAD_TO) --gap-fill=0xff -u-boot-img-spl-at-end.bin: u-boot.img spl/u-boot-spl.bin FORCE - $(call if_changed,pad_cat) - quiet_cmd_u-boot-elf ?= LD $@ cmd_u-boot-elf ?= $(LD) u-boot-elf.o -o $@ \ $(if $(CONFIG_SYS_BIG_ENDIAN),-EB,-EL) \