]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: efi: Add room for the binman definition in the dtb
authorSimon Glass <sjg@chromium.org>
Wed, 29 Dec 2021 18:57:40 +0000 (11:57 -0700)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 31 Dec 2021 05:45:01 +0000 (06:45 +0100)
At present only 4KB of spare space is left in the DTB when building the
EFI app. Increase this to 32KB so there is plenty of space to insert the
binman definition. This cannot be expanded later (as with OF_SEPARATE)
because the ELF image has already been built.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviwed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
arch/x86/dts/Makefile

index be209aaaf8f83b4dca3fa263cfe05e5d5128bdd8..5c8c05ec4995016dbde1174dd614e11289f9eb0b 100644 (file)
@@ -24,7 +24,7 @@ dtb-y += bayleybay.dtb \
 
 targets += $(dtb-y)
 
-DTC_FLAGS += -R 4 -p 0x1000
+DTC_FLAGS += -R 4 -p $(if $(CONFIG_EFI_APP),0x8000,0x1000)
 
 PHONY += dtbs
 dtbs: $(addprefix $(obj)/, $(dtb-y))