[PATCH] phy: PHY_FSL_LYNX_28G should depend on ARCH_LAYERSCAPE

Linus Torvalds torvalds at linux-foundation.org
Tue Mar 29 08:45:53 PDT 2022


On Tue, Mar 29, 2022 at 5:56 AM Geert Uytterhoeven <geert at linux-m68k.org> wrote:
>
> Freescale Layerscape Lynx 28G SerDes PHYs are only present on
> Freescale/NXP Layerscape SoCs.
>
> Move PHY_FSL_LYNX_28G outside the block for ARCH_MXC, as the latter
> is meant for i.MX8 SoCs, which is a different family than Layerscape.
> Add a dependency on ARCH_LAYERSCAPE, to prevent asking the user about
> this driver when configuring a kernel without Layerscape SoC support.

I took this directly, since one of the bugs it fixed was mine.

Mea culpa,
             Linus



More information about the linux-phy mailing list