]> git.baikalelectronics.ru Git - uboot.git/commit
x86: Separate out U-Boot and device tree in ROM image
authorSimon Glass <sjg@chromium.org>
Sat, 7 Dec 2019 04:42:33 +0000 (21:42 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 15 Dec 2019 03:44:20 +0000 (11:44 +0800)
commitffa558740f7f7607e5ad6f42418145554af382f5
tree91f02db1ca9d669e4239b4e7b5ab47ee8b1f254d
parentae067fbb43badcbd1c20efdab5c9283ae39aa501
x86: Separate out U-Boot and device tree in ROM image

At present binman does not support updating a device tree that is part of
U-Boot (i.e u-boot.bin). Separate the entries into two so that we can get
updated entry information. This makes binman_entry_find() work correctly.

Do the same for SPL tool.

In both cases, group the two parts into a section so that SPL symbols get
the correct total size.

It may be possible for binman to handle this automatically at some point,
by ignoring u-boot.bin and always creating it from u-boot-nodtb.bin and
u-boot.dtb

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/dts/u-boot.dtsi