diff options
author | Tom Rini <trini@konsulko.com> | 2022-07-23 13:05:10 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-08-04 16:18:48 -0400 |
commit | 612f7a61d59cc71daa6296f8c2c7346b8e811caa (patch) | |
tree | b0542bc9d5c046515f92fe12cac42e73f1e311a6 /drivers | |
parent | 923a855509c6114b044b6358c98f1857f52ab80b (diff) | |
download | u-boot-612f7a61d59cc71daa6296f8c2c7346b8e811caa.tar.gz u-boot-612f7a61d59cc71daa6296f8c2c7346b8e811caa.tar.bz2 u-boot-612f7a61d59cc71daa6296f8c2c7346b8e811caa.zip |
Convert CONFIG_FSL_MEMAC et al to Kconfig
This converts the following to Kconfig:
CONFIG_FSL_MEMAC
CONFIG_SYS_MEMAC_LITTLE_ENDIAN
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/Kconfig | 1 | ||||
-rw-r--r-- | drivers/net/fm/Makefile | 1 | ||||
-rw-r--r-- | drivers/net/phy/Kconfig | 7 |
3 files changed, 8 insertions, 1 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 21d6481db9..93e7dbe976 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -375,6 +375,7 @@ config SYS_QE_FMAN_FW_LENGTH config SYS_FMAN_V3 bool + select FSL_MEMAC help SoC has FMan v3 with mEMAC diff --git a/drivers/net/fm/Makefile b/drivers/net/fm/Makefile index ae38412176..5a7d3037af 100644 --- a/drivers/net/fm/Makefile +++ b/drivers/net/fm/Makefile @@ -11,7 +11,6 @@ obj-y += tgec.o obj-y += tgec_phy.o # Soc have FMAN v3 with mEMAC -obj-$(CONFIG_SYS_FMAN_V3) += memac_phy.o obj-$(CONFIG_SYS_FMAN_V3) += memac.o # SoC specific SERDES support diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index 33a4b6f30d..52ce08b3b3 100644 --- a/drivers/net/phy/Kconfig +++ b/drivers/net/phy/Kconfig @@ -345,6 +345,13 @@ config PHY_NCSI endif #PHYLIB +config FSL_MEMAC + bool "NXP mEMAC PHY support" + +config SYS_MEMAC_LITTLE_ENDIAN + bool "mEMAC is access in little endian mode" + depends on FSL_MEMAC || FSL_LS_MDIO + config PHY_RESET_DELAY int "Extra delay after reset before MII register access" default 0 |