diff options
author | Zhao Qiang <qiang.zhao@nxp.com> | 2018-02-06 09:43:08 (GMT) |
---|---|---|
committer | Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> | 2018-02-08 03:05:15 (GMT) |
commit | eb3ddd03b4c6b0424d0f83de8e984b6a459572d8 (patch) | |
tree | 1b509847704541e2bddf9e7d574d33bbad1de7e6 /arch/powerpc/include/asm/config.h | |
parent | 2efee0715c1f36907b6029ff9615d535f4d758e8 (diff) | |
download | u-boot-eb3ddd03b4c6b0424d0f83de8e984b6a459572d8.tar.xz |
PowerPC: phy: enable all phylib drivers when use phylib and tsec enet
<config_phylib_all_drivers.h> should be included when CONFIG_PHYLIB and
CONFIG_TSEC_ENET are defined.
Fixes: 3146f0c017 ("Move PHYLIB to Kconfig")
Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
Diffstat (limited to 'arch/powerpc/include/asm/config.h')
-rw-r--r-- | arch/powerpc/include/asm/config.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/powerpc/include/asm/config.h b/arch/powerpc/include/asm/config.h index 6aec815..8dd53f2 100644 --- a/arch/powerpc/include/asm/config.h +++ b/arch/powerpc/include/asm/config.h @@ -72,11 +72,9 @@ #endif /* The TSEC driver uses the PHYLIB infrastructure */ -#ifndef CONFIG_PHYLIB -#if defined(CONFIG_TSEC_ENET) +#if defined(CONFIG_TSEC_ENET) && defined(CONFIG_PHYLIB) #include <config_phylib_all_drivers.h> #endif /* TSEC_ENET */ -#endif /* !CONFIG_PHYLIB */ /* The FMAN driver uses the PHYLIB infrastructure */ |