mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 14:41:31 +00:00
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>
Reviewed-by: York Sun <york.sun@nxp.com>
This commit is contained in:
parent
dfaec76029
commit
990d06b0bc
1 changed files with 1 additions and 3 deletions
|
@ -70,11 +70,9 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* The TSEC driver uses the PHYLIB infrastructure */
|
/* The TSEC driver uses the PHYLIB infrastructure */
|
||||||
#ifndef CONFIG_PHYLIB
|
#if defined(CONFIG_TSEC_ENET) && defined(CONFIG_PHYLIB)
|
||||||
#if defined(CONFIG_TSEC_ENET)
|
|
||||||
#include <config_phylib_all_drivers.h>
|
#include <config_phylib_all_drivers.h>
|
||||||
#endif /* TSEC_ENET */
|
#endif /* TSEC_ENET */
|
||||||
#endif /* !CONFIG_PHYLIB */
|
|
||||||
|
|
||||||
/* The FMAN driver uses the PHYLIB infrastructure */
|
/* The FMAN driver uses the PHYLIB infrastructure */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue