[PATCH u-boot-marvell 13/19] net: mvneta: Don't check for CONFIG_PHYLIB

Ramon Fried rfried.dev at gmail.com
Sun May 1 01:30:24 CEST 2022


On Wed, Apr 27, 2022 at 1:42 PM Marek Behún <kabel at kernel.org> wrote:
>
> From: Marek Behún <marek.behun at nic.cz>
>
> Drop checking for CONFIG_PHYLIB in mvneta, this is already done in
> Kconfig.
>
> Signed-off-by: Marek Behún <marek.behun at nic.cz>
> ---
>  drivers/net/mvneta.c | 4 ----
>  1 file changed, 4 deletions(-)
>
> diff --git a/drivers/net/mvneta.c b/drivers/net/mvneta.c
> index 5c3f7125b5..0ec9d2957c 100644
> --- a/drivers/net/mvneta.c
> +++ b/drivers/net/mvneta.c
> @@ -40,10 +40,6 @@
>
>  DECLARE_GLOBAL_DATA_PTR;
>
> -#if !defined(CONFIG_PHYLIB)
> -# error Marvell mvneta requires PHYLIB
> -#endif
> -
>  #define CONFIG_NR_CPUS         1
>  #define ETH_HLEN               14      /* Total octets in header */
>
> --
> 2.35.1
>
Reviewed-by: Ramon Fried <rfried.dev at gmail.com>


More information about the U-Boot mailing list