Skip to contentSkip to conversation

sunxi: dts: Fix typoed eMMC check

PATCH In review Andre Przywara 2 participants 2 messages Dec 6, 2021 – Dec 8, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sunxi: dts: Fix typoed eMMC check

Commit 03510bf62149 ("sunxi: only include alias for eMMC when mmc2 used") protected the eMMC alias in U-Boot's DT stub the with the associated Kconfig symbol, but was actually using the wrong name.

Fix the name of the symbol to match what's defined in Kconfig and what the defconfig files actually use.

Fixes 03510bf62149 ("sunxi: only include alias for eMMC when mmc2 used")
Reported-by [email protected]
---
 arch/arm/dts/sunxi-u-boot.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/dts/sunxi-u-boot.dtsi +1 -1
index b7244c1112a..f2d7361b84f 100644
@@ -13,7 +13,7 @@
 / {
 	aliases {
 		mmc0 = &mmc0;
-#if CONFIG_MMC_SUNXI_EXTRA_SLOT == 2
+#if CONFIG_MMC_SUNXI_SLOT_EXTRA == 2
 		mmc1 = &mmc2;
 #endif
 	};
Signature · 1 line
2.17.6
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · 在 2021-12-06星期一的 01:54 +0000,Andre Przywara写道:

Commit 03510bf62149 ("sunxi: only include alias for eMMC when mmc2 used") protected the eMMC alias in U-Boot's DT stub the with the associated Kconfig symbol, but was actually using the wrong name.

Quoted 8 lines

Fix the name of the symbol to match what's defined in Kconfig and what
the defconfig files actually use.

Fixes 03510bf62149 ("sunxi: only include alias for eMMC when mmc2

used")

LGTM. I am just too careless.

Quoted 18 lines

---
 arch/arm/dts/sunxi-u-boot.dtsi | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/dts/sunxi-u- renamed from arch/arm/dts/sunxi-u-boot.dtsi +0 -0

boot.dtsi
index b7244c1112a..f2d7361b84f 100644

arch/arm/dts/sunxi-u-boot.dtsi +1 -1
@@ -13,7 +13,7 @@
  / {
         aliases {
                 mmc0 = &mmc0;
-#if CONFIG_MMC_SUNXI_EXTRA_SLOT == 2
+#if CONFIG_MMC_SUNXI_SLOT_EXTRA == 2
                 mmc1 = &mmc2;
  #endif
         };