sunxi: dts: Fix typoed eMMC check
Subsystems (2)
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.
--- arch/arm/dts/sunxi-u-boot.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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 };
Signature · 1 line
2.17.6
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 associatedKconfigsymbol, but was actually using the wrong name.
Quoted 8 lines
Fix the name of the symbol to match what's defined in
Kconfigand what
the defconfig files actually use.Fixes 03510bf62149 ("sunxi: only include alias for eMMC when mmc2used")
Signed-off-by Andre Przywara <[email protected]>Reported-by [email protected]
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
indexb7244c1112a..f2d7361b84f100644arch/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 };