Re: [PATCH 20/21] ARM: sunxi: Enable dwmac-sun8i driver on sunxi_defconfig
From: Corentin Labbe
Date: Fri Feb 17 2017 - 03:55:32 EST
On Thu, Feb 16, 2017 at 08:08:27PM +0100, Maxime Ripard wrote:
> Hi,
>
> On Thu, Feb 16, 2017 at 01:48:58PM +0100, Corentin Labbe wrote:
> > From: LABBE Corentin <clabbe.montjoie@xxxxxxxxx>
> >
> > Enable the dwmac-sun8i driver in the sunxi default configuration
> >
> > Signed-off-by: Corentin Labbe <clabbe.montjoie@xxxxxxxxx>
> > ---
> > arch/arm/configs/sunxi_defconfig | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig
> > index da92c25..33bde86 100644
> > --- a/arch/arm/configs/sunxi_defconfig
> > +++ b/arch/arm/configs/sunxi_defconfig
> > @@ -40,6 +40,7 @@ CONFIG_ATA=y
> > CONFIG_AHCI_SUNXI=y
> > CONFIG_NETDEVICES=y
> > CONFIG_SUN4I_EMAC=y
> > +CONFIG_DWMAC_SUN8I=m
>
> I think I'd prefer to have it compiled statically, just like the other
> net drivers, and drivers in general.
>
> Thanks!
> Maxime
>
In previous sun8i-emac, someone request that CONFIG must be set as module because kernel went too big.
But I do not care to set it statically.
Regards
Corentin Labbe