From: Bin Meng Date: Wed, 18 Jan 2017 03:32:58 -0800 Subject: [U-Boot] [PATCH 08/14] x86: qemu: Mark ucode as optional for SPL in u-boot.dtsi In-Reply-To: <1484739184-24211-1-git-send-email-bmeng.cn@gmail.com> References: <1484739184-24211-1-git-send-email-bmeng.cn@gmail.com> Message-ID: <1484739184-24211-9-git-send-email-bmeng.cn@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- arch/x86/dts/emulation-u-boot.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/x86/dts/emulation-u-boot.dtsi b/arch/x86/dts/emulation-u-boot.dtsi index 56d34af..7714ed0 100644 --- a/arch/x86/dts/emulation-u-boot.dtsi +++ b/arch/x86/dts/emulation-u-boot.dtsi @@ -10,9 +10,15 @@ #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 -- 2.9.2