x86: qemu: Mark ucode as optional for SPL in u-boot.dtsi
authorBin Meng <bmeng.cn@gmail.com>
Wed, 18 Jan 2017 11:32:58 +0000 (03:32 -0800)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 7 Feb 2017 05:27:13 +0000 (13:27 +0800)
QEMU does not need ucode and this is indicated in u-boot.dtsi
for U-Boot proper. Now add the same for SPL.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/dts/emulation-u-boot.dtsi

index 56d34af9279df64e4f4672c0c7622cd5b930baae..7714ed0b77f3e51b9be9dbe54794f0bea5bba359 100644 (file)
 #ifdef CONFIG_ROM_SIZE
 / {
        binman {
+#ifdef CONFIG_SPL
+               u-boot-spl-with-ucode-ptr {
+                       optional-ucode;
+               };
+#else
                u-boot-with-ucode-ptr {
                        optional-ucode;
                };
+#endif
        };
 };
 #endif