[U-Boot] [PATCH v3 7/8] x86: reserve more spaces for dtb

Bin Meng bmeng.cn at gmail.com
Wed Dec 30 05:04:34 CET 2015


Hi Miao,

On Tue, Dec 29, 2015 at 6:35 PM, Miao Yan <yanmiaobest at gmail.com> wrote:
> Reserve more spaces for x86 dtb files. Otherwise when booting
> on qemu targets, fixing 'cpu' node may fail due to lack
> of space left in dtb.
>
> Signed-off-by: Miao Yan <yanmiaobest at gmail.com>
> ---
>  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 64e5694..753e8fa 100644
> --- a/arch/x86/dts/Makefile
> +++ b/arch/x86/dts/Makefile
> @@ -15,7 +15,7 @@ dtb-y += bayleybay.dtb \
>
>  targets += $(dtb-y)
>
> -DTC_FLAGS += -R 4 -p 0x1000
> +DTC_FLAGS += -R 4 -p 0x3000

This changes bloat the code size too much. It increase 8KB to all the
x86 dtb files. Is there another way to fix this?

>
>  PHONY += dtbs
>  dtbs: $(addprefix $(obj)/, $(dtb-y))
> --

Regards,
Bin


More information about the U-Boot mailing list