[PATCH] sunxi: dts: Fix typoed eMMC check

Icenowy Zheng icenowy at aosc.io
Wed Dec 8 20:00:09 CET 2021


在 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.
> 
> 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 at arm.com>
> Reported-by: 5kft at 5kft.org

LGTM. I am just too careless.

Reviewed-by: Icenowy Zheng <icenowy at aosc.io>

> ---
>  arch/arm/dts/sunxi-u-boot.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/dts/sunxi-u-boot.dtsi b/arch/arm/dts/sunxi-u-
> boot.dtsi
> index b7244c1112a..f2d7361b84f 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
>         };




More information about the U-Boot mailing list