Message ID | 1360186636-6041-7-git-send-email-benoit.thebaudeau@advansee.com |
---|---|
State | Changes Requested |
Delegated to: | Stefano Babic |
Headers | show |
On Wednesday, February 6, 2013 10:37:14 PM, Benoît Thébaudeau wrote: > PAD_TO is not a generic SPL configuration option, so use CONFIG_SPL_MAX_SIZE > instead. > > Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> This patch and the next 2 are rather drafts and RFCs than true patches. Don't expect them to work or even build. Best regards, Benoît
diff --git a/Makefile b/Makefile index f4a9b33..d28e608 100644 --- a/Makefile +++ b/Makefile @@ -486,7 +486,7 @@ $(obj)u-boot.dis: $(obj)u-boot $(OBJDUMP) -d $< > $@ $(obj)u-boot-with-spl.bin: $(obj)spl/u-boot-spl.bin $(obj)u-boot.bin - $(OBJCOPY) ${OBJCFLAGS} --pad-to=$(PAD_TO) -O binary $(obj)spl/u-boot-spl $(obj)spl/u-boot-spl-pad.bin + $(OBJCOPY) ${OBJCFLAGS} --pad-to=$(CONFIG_SPL_MAX_SIZE) -O binary $(obj)spl/u-boot-spl $(obj)spl/u-boot-spl-pad.bin cat $(obj)spl/u-boot-spl-pad.bin $(obj)u-boot.bin > $@ rm $(obj)spl/u-boot-spl-pad.bin
PAD_TO is not a generic SPL configuration option, so use CONFIG_SPL_MAX_SIZE instead. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> --- Changes in v4: - New patch. Changes in v3: None Changes in v2: None Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)