x86: quark: Fix build error for quark-based boards
authorBin Meng <bmeng.cn@gmail.com>
Mon, 26 Dec 2016 04:52:45 +0000 (20:52 -0800)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 26 Dec 2016 05:36:18 +0000 (13:36 +0800)
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>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/dts/quark-u-boot.dtsi [new file with mode: 0644]

diff --git a/arch/x86/dts/quark-u-boot.dtsi b/arch/x86/dts/quark-u-boot.dtsi
new file mode 100644 (file)
index 0000000..04eb985
--- /dev/null
@@ -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