diff mbox

[U-Boot,1/3] x86: quark: Fix build error for quark-based boards

Message ID 1482727967-5011-1-git-send-email-bmeng.cn@gmail.com
State Accepted
Commit 7156831e07000d6f2b9cb862f9ca2602a3b592e3
Delegated to: Bin Meng
Headers show

Commit Message

Bin Meng Dec. 26, 2016, 4:52 a.m. UTC
With the conversion to use binman to build x86 boards, Intel Galileo
board does not build anymore due to missing ucode entry. In fact
ucode is not needed for quark-based boards.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
---

 arch/x86/dts/quark-u-boot.dtsi | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 arch/x86/dts/quark-u-boot.dtsi

Comments

Simon Glass Dec. 26, 2016, 5:29 a.m. UTC | #1
On 26 December 2016 at 17:52, Bin Meng <bmeng.cn@gmail.com> wrote:
> With the conversion to use binman to build x86 boards, Intel Galileo
> board does not build anymore due to missing ucode entry. In fact
> ucode is not needed for quark-based boards.
>
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
> ---
>
>  arch/x86/dts/quark-u-boot.dtsi | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
>  create mode 100644 arch/x86/dts/quark-u-boot.dtsi

Reviewed-by: Simon Glass <sjg@chromium.org>
Bin Meng Dec. 26, 2016, 5:38 a.m. UTC | #2
On Mon, Dec 26, 2016 at 1:29 PM, Simon Glass <sjg@chromium.org> wrote:
> On 26 December 2016 at 17:52, Bin Meng <bmeng.cn@gmail.com> wrote:
>> With the conversion to use binman to build x86 boards, Intel Galileo
>> board does not build anymore due to missing ucode entry. In fact
>> ucode is not needed for quark-based boards.
>>
>> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
>> ---
>>
>>  arch/x86/dts/quark-u-boot.dtsi | 17 +++++++++++++++++
>>  1 file changed, 17 insertions(+)
>>  create mode 100644 arch/x86/dts/quark-u-boot.dtsi
>
> Reviewed-by: Simon Glass <sjg@chromium.org>

applied to u-boot-x86, thanks!
diff mbox

Patch

diff --git a/arch/x86/dts/quark-u-boot.dtsi b/arch/x86/dts/quark-u-boot.dtsi
new file mode 100644
index 0000000..04eb985
--- /dev/null
+++ b/arch/x86/dts/quark-u-boot.dtsi
@@ -0,0 +1,17 @@ 
+/*
+ * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com>
+ *
+ * SPDX-License-Identifier:	GPL-2.0+
+ */
+
+#include <u-boot.dtsi>
+
+#ifdef CONFIG_ROM_SIZE
+/ {
+	binman {
+		u-boot-with-ucode-ptr {
+			optional-ucode;
+		};
+	};
+};
+#endif