]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sunxi: binman: Respect the default FIT configuration
authorSamuel Holland <samuel@sholland.org>
Mon, 8 Feb 2021 06:03:16 +0000 (00:03 -0600)
committerAndre Przywara <andre.przywara@arm.com>
Fri, 16 Apr 2021 00:12:59 +0000 (01:12 +0100)
binman can fill in the default FIT configuration index as selected by
the "default-dt" argument, which is set to CONFIG_DEFAULT_DEVICE_TREE.
Let's respect the user's configuration by taking advantage of this
feature, instead of always defaulting to the first device tree in
CONFIG_OF_LIST.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
arch/arm/dts/sunxi-u-boot.dtsi

index cd096bf2a06bdada2ed4e2fb679cffb8628e1063..f8225888987fbe0a32d8a0af56b79f8f47c54378 100644 (file)
@@ -86,7 +86,7 @@
                        };
 
                        configurations {
-                               default = "config-1";
+                               default = "@config-DEFAULT-SEQ";
 
                                @config-SEQ {
                                        description = "NAME";