mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-30 08:30:50 +09:00
x86: Update device tree for Chromium OS verified boot
The standard image generated by U-Boot on x86 is u-boot.rom. Add a separate image called image.bin for verified boot. This supports verification in TPL of which SPL/U-Boot to start, then jumping to the correct one, with SPL setting up the SDRAM and U-Boot proper providing the user interface if needed. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
93c7607580
commit
c5edefb7f7
@ -6,9 +6,23 @@
|
|||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#ifdef CONFIG_ROM_SIZE
|
#ifdef CONFIG_CHROMEOS
|
||||||
/ {
|
/ {
|
||||||
binman {
|
binman {
|
||||||
|
multiple-images;
|
||||||
|
rom: rom {
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
#else
|
||||||
|
/ {
|
||||||
|
rom: binman {
|
||||||
|
};
|
||||||
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_ROM_SIZE
|
||||||
|
&rom {
|
||||||
filename = "u-boot.rom";
|
filename = "u-boot.rom";
|
||||||
end-at-4gb;
|
end-at-4gb;
|
||||||
sort-by-offset;
|
sort-by-offset;
|
||||||
@ -116,6 +130,5 @@
|
|||||||
offset = <CONFIG_SYS_X86_START16>;
|
offset = <CONFIG_SYS_X86_START16>;
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
};
|
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user