[PATCH 2/4] mmc: hi6220_dw_mmc: add compatible for HC2910 support

Peng Fan peng.fan at oss.nxp.com
Wed Jun 14 14:01:59 CEST 2023



On 4/1/2023 7:17 PM, Yang Xiwen wrote:
> It adds compatible "hisilicon,hi3798mv200-dw-mshc" for HC2910 SoC
> Hi3798MV200 to probe this mmc driver.

It would be better if you could write more information, about
why it reuse the data structure of hi6220_mmc_data.

Regards,
Peng.

> 
> Signed-off-by: Yang Xiwen <forbidden405 at outlook.com>
> ---
>   drivers/mmc/hi6220_dw_mmc.c | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/mmc/hi6220_dw_mmc.c b/drivers/mmc/hi6220_dw_mmc.c
> index 2cec5b9ae3..71962cd47e 100644
> --- a/drivers/mmc/hi6220_dw_mmc.c
> +++ b/drivers/mmc/hi6220_dw_mmc.c
> @@ -100,6 +100,8 @@ static const struct udevice_id hi6220_dwmmc_ids[] = {
>   	  .data = (ulong)&hi6220_mmc_data },
>   	{ .compatible = "hisilicon,hi3798cv200-dw-mshc",
>   	  .data = (ulong)&hi6220_mmc_data },
> +	{ .compatible = "hisilicon,hi3798mv200-dw-mshc",
> +	  .data = (ulong)&hi6220_mmc_data },
>   	{ .compatible = "hisilicon,hi3660-dw-mshc",
>   	  .data = (ulong)&hi3660_mmc_data },
>   	{ }


More information about the U-Boot mailing list