From 75db0860b1cee8c3b2539878a227c37bfce00046 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 25 Nov 2016 20:15:55 -0700 Subject: 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 Tested-by: Bin Meng --- tools/binman/test/44_x86_optional_ucode.dts | 30 +++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 tools/binman/test/44_x86_optional_ucode.dts (limited to 'tools/binman/test/44_x86_optional_ucode.dts') diff --git a/tools/binman/test/44_x86_optional_ucode.dts b/tools/binman/test/44_x86_optional_ucode.dts new file mode 100644 index 0000000..abe1322 --- /dev/null +++ b/tools/binman/test/44_x86_optional_ucode.dts @@ -0,0 +1,30 @@ +/dts-v1/; + +/ { + #address-cells = <1>; + #size-cells = <1>; + + binman { + sort-by-pos; + end-at-4gb; + size = <0x200>; + u-boot-with-ucode-ptr { + optional-ucode; + }; + + u-boot-dtb-with-ucode { + }; + + u-boot-ucode { + }; + }; + + microcode { + update@0 { + data = <0x12345678 0x12345679>; + }; + update@1 { + data = <0xabcd0000 0x78235609>; + }; + }; +}; -- cgit v1.1