aboutsummaryrefslogtreecommitdiff
path: root/tools/binman/test/145_x86_reset16_spl.dts
diff options
context:
space:
mode:
authorSimon Glass2019-08-24 07:22:48 -0600
committerSimon Glass2019-10-15 08:40:02 -0600
commit2250ee6ee681564115d82f9f9c63497ccfb5fdd7 (patch)
treeb991315ca7bfdbf6317f215aad47d2151e05ed6a /tools/binman/test/145_x86_reset16_spl.dts
parent3da9ce8dd44399dfca4b0639101f5154dbbaa93f (diff)
binman: Add support for an x86 'reset' section
At present binman has a single entry type for the 16-bit code code needed to start up an x86 processor. This entry is intended to include both the reset vector itself as well as the code to move to 32-bit mode. However this is not very flexible since in some cases other data needs to be included at the top of the SPI flash, in between these two pieces. For example Intel requires that a FIT (Firmware Image Table) pointer be placed 0x40 bytes before the end of the ROM. To deal with this, add a new reset entry for just the reset vector. A subsequent change will adjust the existing 'start16' entry. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/test/145_x86_reset16_spl.dts')
-rw-r--r--tools/binman/test/145_x86_reset16_spl.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/binman/test/145_x86_reset16_spl.dts b/tools/binman/test/145_x86_reset16_spl.dts
new file mode 100644
index 00000000000..cc8d97a7e66
--- /dev/null
+++ b/tools/binman/test/145_x86_reset16_spl.dts
@@ -0,0 +1,13 @@
+/dts-v1/;
+
+/ {
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ binman {
+ size = <16>;
+
+ x86-reset16-spl {
+ };
+ };
+};