[RFC PATCH 11/13] mmc: sunxi: add support for R329 MMC controller

Samuel Holland samuel at sholland.org
Sat Nov 6 04:10:05 CET 2021


On 7/22/21 1:30 AM, Icenowy Zheng wrote:
> R329 SoC has similar MMC controllers with previous Allwinner SoCs.
> 
> Add support for it by adding its compatible string.
> 
> Signed-off-by: Icenowy Zheng <icenowy at sipeed.com>

It really is that simple; as far as I can tell, the other checks are
covered by CONFIG_SUN50I_GEN_H6.

Reviewed-by: Samuel Holland <samuel at sholland.org>

> ---
>  drivers/mmc/sunxi_mmc.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/mmc/sunxi_mmc.c b/drivers/mmc/sunxi_mmc.c
> index 6b809c001f..59cc28794d 100644
> --- a/drivers/mmc/sunxi_mmc.c
> +++ b/drivers/mmc/sunxi_mmc.c
> @@ -734,6 +734,7 @@ static const struct udevice_id sunxi_mmc_ids[] = {
>  	{ .compatible = "allwinner,sun50i-h6-emmc" },
>  	{ .compatible = "allwinner,sun50i-a100-mmc" },
>  	{ .compatible = "allwinner,sun50i-a100-emmc" },
> +	{ .compatible = "allwinner,sun50i-r329-mmc" },
>  	{ /* sentinel */ }
>  };
>  
> 



More information about the U-Boot mailing list