[PATCH v8 06/25] x86: efi: Add room for the binman definition in the dtb

Heinrich Schuchardt xypron.glpk at gmx.de
Thu Dec 30 14:29:31 CET 2021


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 at chromium.org>

Reviewed-by: Heinrich Schuchardt <xypron.glpk at 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))



More information about the U-Boot mailing list