x86: Use multiple images
authorSimon Glass <sjg@chromium.org>
Sun, 6 Sep 2020 16:35:31 +0000 (10:35 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 25 Sep 2020 03:27:28 +0000 (11:27 +0800)
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>
arch/x86/dts/emulation-u-boot.dtsi
arch/x86/dts/quark-u-boot.dtsi
arch/x86/dts/u-boot.dtsi

index 6b651a3..7245fe5 100644 (file)
@@ -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
index 7ebc301..60ffffc 100644 (file)
@@ -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
index fa8106c..90badcc 100644 (file)
@@ -6,7 +6,6 @@
 
 #include <config.h>
 
-#ifdef CONFIG_CHROMEOS
 / {
        binman {
                multiple-images;
                };
        };
 };
-#else
-/ {
-       rom: binman {
-       };
-};
-#endif
 
 #ifdef CONFIG_ROM_SIZE
 &rom {