Re: [PATCH v4 3/7] phy: add A3700 COMPHY support

From: Miquel Raynal
Date: Mon Dec 17 2018 - 10:56:18 EST


Hi Thomas,

Thomas Petazzoni <thomas.petazzoni@xxxxxxxxxxx> wrote on Mon, 17 Dec
2018 16:52:23 +0100:

> Hello,
>
> On Mon, 17 Dec 2018 16:48:57 +0100, Miquel Raynal wrote:
>
> > I received the following bug report because I added a dependency on
> > COMPILE_TEST in Kconfig:
> >
> > config: i386-allmodconfig (attached as .config) compiler:
> > gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce:
> > # save the attached .config to linux build tree
> > make ARCH=i386
> >
> > All errors (new ones prefixed by >>):
> >
> > >> ERROR: "__arm_smccc_smc" [drivers/phy/marvell/phy-mvebu-a3700-comphy.ko] undefined!
> >
> > Unless someone complains, I will drop the dependency on COMPILE_TEST in
> > Kconfig.
>
> Keep COMPILE_TEST, and add:
>
> depends on HAVE_ARM_SMCCC
>
> perhaps ?

Oh that's a cool Kconfig entry. Forgot about it, thanks for the
pointer!


Thanks,
MiquÃl