diff options
author | vojo <joris.van.vossen@sintecs.nl> | 2017-12-19 08:53:23 (GMT) |
---|---|---|
committer | vojo <joris.van.vossen@sintecs.nl> | 2017-12-19 08:53:23 (GMT) |
commit | 505d9ce1aae6b4226c33cd0903c0123ea3c8c128 (patch) | |
tree | 55df8809af3c7d5b0e0cd2f520f93e2b9f662d7f /Makefile | |
parent | c249f5f07214250195863b8ac76424abe94f64e3 (diff) | |
download | u-boot-505d9ce1aae6b4226c33cd0903c0123ea3c8c128.tar.xz |
Grapeboard support added
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -762,6 +762,8 @@ endif # Always append ALL so that arch config.mk's can add custom ones ALL-y += u-boot.srec u-boot.bin u-boot.sym System.map binary_size_check +ALL-$(CONFIG_PBL_IMAGE) += u-boot-pbl.bin + ALL-$(CONFIG_ONENAND_U_BOOT) += u-boot-onenand.bin ifeq ($(CONFIG_SPL_FSL_PBL),y) ALL-$(CONFIG_RAMBOOT_PBL) += u-boot-with-spl-pbl.bin @@ -1198,6 +1200,14 @@ 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 $(SPL_PAYLOAD) FORCE $(call if_changed,pad_cat) + + +#Concatenate PBL and U-boot binaries automatically +OBJCOPYFLAGS_u-boot-pbl.bin := -I binary -O binary --pad-to=$(CONFIG_U_BOOT_PAD_TO) \ + --gap-fill=0xff + +u-boot-pbl.bin: $(srctree)/$(CONFIG_PBL_BINARY:"%"=%) u-boot.bin 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 |