summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-09-06 10:35:31 -0600
committerBin Meng <bmeng.cn@gmail.com>2020-09-25 11:27:28 +0800
commit2463f165a32370f44186e320aced170d50676b54 (patch)
tree04266d6bd2ae79e01374fa48f123db5e6e0db223 /arch/x86
parent308b1a960e3173148a313dfab29a00349168eced (diff)
downloadu-boot-2463f165a32370f44186e320aced170d50676b54.tar.gz
x86: Use multiple images
We already use binman's 'multiple-images' feature with Chrome OS and we want to use it for Edison. There is no real down-side. Adjust x86 to always use multiple-images. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/dts/emulation-u-boot.dtsi16
-rw-r--r--arch/x86/dts/quark-u-boot.dtsi8
-rw-r--r--arch/x86/dts/u-boot.dtsi7
3 files changed, 10 insertions, 21 deletions
diff --git a/arch/x86/dts/emulation-u-boot.dtsi b/arch/x86/dts/emulation-u-boot.dtsi
index 6b651a394f..7245fe51b3 100644
--- a/arch/x86/dts/emulation-u-boot.dtsi
+++ b/arch/x86/dts/emulation-u-boot.dtsi
@@ -7,17 +7,15 @@
#include <u-boot.dtsi>
#ifdef CONFIG_ROM_SIZE
-/ {
- binman {
+&rom {
#ifdef CONFIG_SPL
- u-boot-spl-with-ucode-ptr {
- optional-ucode;
- };
+ u-boot-spl-with-ucode-ptr {
+ optional-ucode;
+ };
#else
- u-boot-with-ucode-ptr {
- optional-ucode;
- };
-#endif
+ u-boot-with-ucode-ptr {
+ optional-ucode;
};
+#endif
};
#endif
diff --git a/arch/x86/dts/quark-u-boot.dtsi b/arch/x86/dts/quark-u-boot.dtsi
index 7ebc30166d..60ffffcc0e 100644
--- a/arch/x86/dts/quark-u-boot.dtsi
+++ b/arch/x86/dts/quark-u-boot.dtsi
@@ -6,11 +6,9 @@
#include <u-boot.dtsi>
#ifdef CONFIG_ROM_SIZE
-/ {
- binman {
- u-boot-with-ucode-ptr {
- optional-ucode;
- };
+&rom {
+ u-boot-with-ucode-ptr {
+ optional-ucode;
};
};
#endif
diff --git a/arch/x86/dts/u-boot.dtsi b/arch/x86/dts/u-boot.dtsi
index fa8106c8b8..90badcc15c 100644
--- a/arch/x86/dts/u-boot.dtsi
+++ b/arch/x86/dts/u-boot.dtsi
@@ -6,7 +6,6 @@
#include <config.h>
-#ifdef CONFIG_CHROMEOS
/ {
binman {
multiple-images;
@@ -14,12 +13,6 @@
};
};
};
-#else
-/ {
- rom: binman {
- };
-};
-#endif
#ifdef CONFIG_ROM_SIZE
&rom {