summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2016-12-25 20:52:45 -0800
committerBin Meng <bmeng.cn@gmail.com>2016-12-26 13:36:18 +0800
commit7156831e07000d6f2b9cb862f9ca2602a3b592e3 (patch)
tree06c8f38995b894a357f3bedb36fa8e57116d1604
parenta5b24110cad65c73d6bcf6ecada07d926975ed54 (diff)
downloadu-boot-7156831e07000d6f2b9cb862f9ca2602a3b592e3.tar.gz
u-boot-7156831e07000d6f2b9cb862f9ca2602a3b592e3.tar.bz2
u-boot-7156831e07000d6f2b9cb862f9ca2602a3b592e3.zip
x86: quark: Fix build error for quark-based boards
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>
-rw-r--r--arch/x86/dts/quark-u-boot.dtsi17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/x86/dts/quark-u-boot.dtsi b/arch/x86/dts/quark-u-boot.dtsi
new file mode 100644
index 0000000000..04eb98547f
--- /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