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 <icen...@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 <sam...@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 */ } > }; > >