[PATCH 2/3] net: sun8i-emac: Drop use of arch-specific header

Andre Przywara andre.przywara at arm.com
Mon Jul 18 12:03:07 CEST 2022


On Fri, 15 Jul 2022 00:20:57 -0500
Samuel Holland <samuel at sholland.org> wrote:

Hi,

> This header is not used since commit abdbefba2a4e ("net: sun8i_emac: Use
> consistent clock bitfield definitions"). Dropping it allows the driver
> to be architecture-independent.

Yes, we don't need this header anymore (all boards compile fine without
it), and indeed it seems to be this commit you mentioned that changed that.

> Signed-off-by: Samuel Holland <samuel at sholland.org>

Reviewed-by: Andre Przywara <andre.przywara at arm.com>

Cheers,
Andre

>  drivers/net/sun8i_emac.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/net/sun8i_emac.c b/drivers/net/sun8i_emac.c
> index a4b3492b7647..9cca8fa4e0a1 100644
> --- a/drivers/net/sun8i_emac.c
> +++ b/drivers/net/sun8i_emac.c
> @@ -16,7 +16,6 @@
>  #include <asm/global_data.h>
>  #include <asm/gpio.h>
>  #include <asm/io.h>
> -#include <asm/arch/clock.h>
>  #include <common.h>
>  #include <clk.h>
>  #include <dm.h>



More information about the U-Boot mailing list