]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 6b651a394f3062c200c086f7f029522a1efb78b6..7245fe51b3b15bc4235e08e0e4f22f520bb54dd6 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 7ebc30166d268a41516d15f01e9f62d9fd946c47..60ffffcc0e7985bec4a10af6487cd2d1ce6ec48b 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 fa8106c8b8c4d90c3c1363aaeb4c69bcf6d7e571..90badcc15c98d5e5f29688ded89037ac72286c3c 100644 (file)
@@ -6,7 +6,6 @@
 
 #include <config.h>
 
-#ifdef CONFIG_CHROMEOS
 / {
        binman {
                multiple-images;
                };
        };
 };
-#else
-/ {
-       rom: binman {
-       };
-};
-#endif
 
 #ifdef CONFIG_ROM_SIZE
 &rom {