Skip to content
Snippets Groups Projects
Commit df81abda authored by Simon Glass's avatar Simon Glass Committed by Bin Meng
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent 4f1f5072
No related branches found
No related tags found
No related merge requests found
...@@ -44,13 +44,21 @@ ...@@ -44,13 +44,21 @@
u-boot-tpl-dtb { u-boot-tpl-dtb {
}; };
#endif #endif
u-boot-spl { spl {
type = "section";
offset = <CONFIG_X86_OFFSET_SPL>; offset = <CONFIG_X86_OFFSET_SPL>;
}; u-boot-spl {
u-boot-spl-dtb { };
u-boot-spl-dtb {
};
}; };
u-boot { u-boot {
type = "section";
offset = <CONFIG_X86_OFFSET_U_BOOT>; offset = <CONFIG_X86_OFFSET_U_BOOT>;
u-boot-nodtb {
};
u-boot-dtb {
};
}; };
#elif defined(CONFIG_SPL) #elif defined(CONFIG_SPL)
u-boot-spl-with-ucode-ptr { u-boot-spl-with-ucode-ptr {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment