diff mbox series

[1/2] sunxi: binman: Respect the default FIT configuration

Message ID 20210208060317.58912-1-samuel@sholland.org
State Accepted
Commit ed4bc13f3d3e1450a9c0bb31cbd4df658685b516
Delegated to: Andre Przywara
Headers show
Series [1/2] sunxi: binman: Respect the default FIT configuration | expand

Commit Message

Samuel Holland Feb. 8, 2021, 6:03 a.m. UTC
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>
---
 arch/arm/dts/sunxi-u-boot.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Simon Glass Feb. 8, 2021, 5:08 p.m. UTC | #1
On Sun, 7 Feb 2021 at 23:03, Samuel Holland <samuel@sholland.org> wrote:
>
> 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>
> ---
>  arch/arm/dts/sunxi-u-boot.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg@chromium.org>
diff mbox series

Patch

diff --git a/arch/arm/dts/sunxi-u-boot.dtsi b/arch/arm/dts/sunxi-u-boot.dtsi
index abe629c55e5..a9062316f1d 100644
--- a/arch/arm/dts/sunxi-u-boot.dtsi
+++ b/arch/arm/dts/sunxi-u-boot.dtsi
@@ -86,7 +86,7 @@ 
 			};
 
 			configurations {
-				default = "config-1";
+				default = "@config-DEFAULT-SEQ";
 
 				@config-SEQ {
 					description = "NAME";