aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2021-11-30 23:18:54 +0000
committerAndre Przywara <andre.przywara@arm.com>2021-12-08 23:06:56 +0000
commite32dad292ae1422eba1403964918eed220061769 (patch)
treecd462d78869beb657ee35399b9d8b534eee0d0fa
parent558002a0f2230bedf6b38716f3ed86a92fc9010b (diff)
downloadu-boot-e32dad292ae1422eba1403964918eed220061769.zip
u-boot-e32dad292ae1422eba1403964918eed220061769.tar.gz
u-boot-e32dad292ae1422eba1403964918eed220061769.tar.bz2
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") Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reported-by: 5kft@5kft.org Reviewed-by: Icenowy Zheng <icenowy@aosc.io>
-rw-r--r--arch/arm/dts/sunxi-u-boot.dtsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/dts/sunxi-u-boot.dtsi b/arch/arm/dts/sunxi-u-boot.dtsi
index b7244c1..f2d7361 100644
--- a/arch/arm/dts/sunxi-u-boot.dtsi
+++ b/arch/arm/dts/sunxi-u-boot.dtsi
@@ -13,7 +13,7 @@
/ {
aliases {
mmc0 = &mmc0;
-#if CONFIG_MMC_SUNXI_EXTRA_SLOT == 2
+#if CONFIG_MMC_SUNXI_SLOT_EXTRA == 2
mmc1 = &mmc2;
#endif
};