[PATCH 1/2] sunxi: mmc: Sort compatible strings numerically

Jaehoon Chung jh80.chung at samsung.com
Tue Oct 31 07:29:55 CET 2023



> -----Original Message-----
> From: Samuel Holland <samuel at sholland.org>
> Sent: Tuesday, October 31, 2023 2:23 PM
> To: u-boot at lists.denx.de; Jagan Teki <jagan at amarulasolutions.com>; Andre Przywara
> <andre.przywara at arm.com>
> Cc: Samuel Holland <samuel at sholland.org>; Jaehoon Chung <jh80.chung at samsung.com>; Peng Fan
> <peng.fan at nxp.com>
> Subject: [PATCH 1/2] sunxi: mmc: Sort compatible strings numerically
> 
> commit 95168d77d391 ("sunxi: add Allwinner R528/T113 SoC support") added
> the new entry out of order.
> 
> Signed-off-by: Samuel Holland <samuel at sholland.org>

Reviewed-by: Jaehoon Chung <jh80.chung at samsung.com>

Best Regards,
Jaehoon Chung

> ---
> 
>  drivers/mmc/sunxi_mmc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mmc/sunxi_mmc.c b/drivers/mmc/sunxi_mmc.c
> index 4d6351bf275..7caefa153dc 100644
> --- a/drivers/mmc/sunxi_mmc.c
> +++ b/drivers/mmc/sunxi_mmc.c
> @@ -701,13 +701,13 @@ static const struct udevice_id sunxi_mmc_ids[] = {
>  	{ .compatible = "allwinner,sun7i-a20-mmc" },
>  	{ .compatible = "allwinner,sun8i-a83t-emmc" },
>  	{ .compatible = "allwinner,sun9i-a80-mmc" },
> +	{ .compatible = "allwinner,sun20i-d1-mmc" },
>  	{ .compatible = "allwinner,sun50i-a64-mmc" },
>  	{ .compatible = "allwinner,sun50i-a64-emmc" },
>  	{ .compatible = "allwinner,sun50i-h6-mmc" },
>  	{ .compatible = "allwinner,sun50i-h6-emmc" },
>  	{ .compatible = "allwinner,sun50i-a100-mmc" },
>  	{ .compatible = "allwinner,sun50i-a100-emmc" },
> -	{ .compatible = "allwinner,sun20i-d1-mmc" },
>  	{ /* sentinel */ }
>  };
> 
> --
> 2.41.0




More information about the U-Boot mailing list