Message ID | 20211229185759.1432518-6-sjg@chromium.org |
---|---|
State | Accepted, archived |
Commit | 7f5419a64760e279556c548ec29cf48b8614c2f6 |
Delegated to: | Heinrich Schuchardt |
Headers | show |
Series | efi: Improvements to U-Boot running on top of UEFI | expand |
On 12/29/21 19:57, Simon Glass wrote: > 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> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> > --- > > (no changes since v1) > > arch/x86/dts/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/x86/dts/Makefile b/arch/x86/dts/Makefile > index be209aaaf8f..5c8c05ec499 100644 > --- a/arch/x86/dts/Makefile > +++ b/arch/x86/dts/Makefile > @@ -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))
diff --git a/arch/x86/dts/Makefile b/arch/x86/dts/Makefile index be209aaaf8f..5c8c05ec499 100644 --- a/arch/x86/dts/Makefile +++ b/arch/x86/dts/Makefile @@ -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))
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> --- (no changes since v1) arch/x86/dts/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)