summaryrefslogtreecommitdiff
path: root/tools/binman/test/40_x86_ucode_not_in_image.dts
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-11-25 20:15:55 -0700
committerSimon Glass <sjg@chromium.org>2016-12-20 08:09:55 +1300
commit75db0860b1cee8c3b2539878a227c37bfce00046 (patch)
treef83f5581222fc9d81100a5a0e0bf3758709ca967 /tools/binman/test/40_x86_ucode_not_in_image.dts
parentc49deb837cb1ba0a64869fcb4fabac11d3e94ae0 (diff)
downloadu-boot-imx-75db0860b1cee8c3b2539878a227c37bfce00046.zip
u-boot-imx-75db0860b1cee8c3b2539878a227c37bfce00046.tar.gz
u-boot-imx-75db0860b1cee8c3b2539878a227c37bfce00046.tar.bz2
binman: Add support for building x86 ROMs with SPL
When building for 64-bit x86 we need an SPL binary in the ROM. Add support for this. Also increase entry test code coverage to 100%. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'tools/binman/test/40_x86_ucode_not_in_image.dts')
-rw-r--r--tools/binman/test/40_x86_ucode_not_in_image.dts28
1 files changed, 28 insertions, 0 deletions
diff --git a/tools/binman/test/40_x86_ucode_not_in_image.dts b/tools/binman/test/40_x86_ucode_not_in_image.dts
new file mode 100644
index 0000000..67d17d3
--- /dev/null
+++ b/tools/binman/test/40_x86_ucode_not_in_image.dts
@@ -0,0 +1,28 @@
+/dts-v1/;
+
+/ {
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ binman {
+ sort-by-pos;
+ size = <0x200>;
+ u-boot-with-ucode-ptr {
+ };
+
+ u-boot-dtb-with-ucode {
+ };
+
+ u-boot-ucode {
+ };
+ };
+
+ microcode {
+ update@0 {
+ data = <0x12345678 0x12345679>;
+ };
+ update@1 {
+ data = <0xabcd0000 0x78235609>;
+ };
+ };
+};