[PATCH v2 07/10] mtd: nand: raw: rockchip_nfc: remove the compatible string "rockchip,rk3308-nfc"

Michael Nazzareno Trimarchi michael at amarulasolutions.com
Thu Feb 16 08:29:34 CET 2023


Hi Johan

On Tue, Feb 7, 2023 at 3:54 PM Johan Jonker <jbx6244 at gmail.com> wrote:
>
> The compatible string for rk3308 has as fallback string "rockchip,rv1108-nfc".
> As there is no logic in probe priority between the SoC orientated string
> and the fall back, so remove the compatible string "rockchip,rk3308-nfc"
> from the driver.
>
> Signed-off-by: Johan Jonker <jbx6244 at gmail.com>
> ---
>  drivers/mtd/nand/raw/rockchip_nfc.c | 4 ----
>  1 file changed, 4 deletions(-)
>
> diff --git a/drivers/mtd/nand/raw/rockchip_nfc.c b/drivers/mtd/nand/raw/rockchip_nfc.c
> index 78e2a691..3809702e 100644
> --- a/drivers/mtd/nand/raw/rockchip_nfc.c
> +++ b/drivers/mtd/nand/raw/rockchip_nfc.c
> @@ -1165,10 +1165,6 @@ static const struct udevice_id rk_nfc_id_table[] = {
>                 .compatible = "rockchip,rv1108-nfc",
>                 .data = (unsigned long)&nfc_v8_cfg
>         },
> -       {
> -               .compatible = "rockchip,rk3308-nfc",
> -               .data = (unsigned long)&nfc_v8_cfg
> -       },

Ok, same on linux

Reviewed-by: Michael Trimarchi <michael at amarulasolutions.com>

>         { /* sentinel */ }
>  };
>
> --
> 2.20.1
>


-- 
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
michael at amarulasolutions.com
__________________________________

Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
info at amarulasolutions.com
www.amarulasolutions.com


More information about the U-Boot mailing list