diff mbox series

net: ravb: Drop SoC-specific compatible support

Message ID 20230126201048.73521-1-marek.vasut+renesas@mailbox.org
State Accepted
Commit 1006b33b3a612acbaa66970f3bb8817216fc854e
Delegated to: Marek Vasut
Headers show
Series net: ravb: Drop SoC-specific compatible support | expand

Commit Message

Marek Vasut Jan. 26, 2023, 8:10 p.m. UTC
The current set of U-Boot upstream R-Car Gen3 DTs all contain generic
"renesas,etheravb-rcar-gen3" compatible strings, drop the SoC specific
compatible string support from U-Boot to reduce size and duplication.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
---
 drivers/net/ravb.c | 6 ------
 1 file changed, 6 deletions(-)

Comments

Ramon Fried Feb. 4, 2023, 12:39 a.m. UTC | #1
On Thu, Jan 26, 2023 at 10:17 PM Marek Vasut
<marek.vasut+renesas@mailbox.org> wrote:
>
> The current set of U-Boot upstream R-Car Gen3 DTs all contain generic
> "renesas,etheravb-rcar-gen3" compatible strings, drop the SoC specific
> compatible string support from U-Boot to reduce size and duplication.
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
> ---
>  drivers/net/ravb.c | 6 ------
>  1 file changed, 6 deletions(-)
>
> diff --git a/drivers/net/ravb.c b/drivers/net/ravb.c
> index c28680565fc..5a835cc06ff 100644
> --- a/drivers/net/ravb.c
> +++ b/drivers/net/ravb.c
> @@ -693,12 +693,6 @@ int ravb_of_to_plat(struct udevice *dev)
>  }
>
>  static const struct udevice_id ravb_ids[] = {
> -       { .compatible = "renesas,etheravb-r8a7795" },
> -       { .compatible = "renesas,etheravb-r8a7796" },
> -       { .compatible = "renesas,etheravb-r8a77965" },
> -       { .compatible = "renesas,etheravb-r8a77970" },
> -       { .compatible = "renesas,etheravb-r8a77990" },
> -       { .compatible = "renesas,etheravb-r8a77995" },
>         { .compatible = "renesas,etheravb-rcar-gen3" },
>         { }
>  };
> --
> 2.39.0
>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
diff mbox series

Patch

diff --git a/drivers/net/ravb.c b/drivers/net/ravb.c
index c28680565fc..5a835cc06ff 100644
--- a/drivers/net/ravb.c
+++ b/drivers/net/ravb.c
@@ -693,12 +693,6 @@  int ravb_of_to_plat(struct udevice *dev)
 }
 
 static const struct udevice_id ravb_ids[] = {
-	{ .compatible = "renesas,etheravb-r8a7795" },
-	{ .compatible = "renesas,etheravb-r8a7796" },
-	{ .compatible = "renesas,etheravb-r8a77965" },
-	{ .compatible = "renesas,etheravb-r8a77970" },
-	{ .compatible = "renesas,etheravb-r8a77990" },
-	{ .compatible = "renesas,etheravb-r8a77995" },
 	{ .compatible = "renesas,etheravb-rcar-gen3" },
 	{ }
 };