mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
net/ethoc: add Kconfig entry for the driver
Add Kconfig entry for the driver, remove #define CONFIG_ETHOC from the only board configuration that uses it and put it into that board's defconfig. Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
parent
eb4e8ceb47
commit
f0727120a7
3 changed files with 7 additions and 1 deletions
|
@ -6,5 +6,7 @@ CONFIG_TARGET_OPENRISC_GENERIC=y
|
|||
CONFIG_CMD_DHCP=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_ETHOC=y
|
||||
CONFIG_SYS_NS16550=y
|
||||
# CONFIG_AUTOBOOT is not set
|
||||
|
|
|
@ -124,6 +124,11 @@ config ETH_DESIGNWARE
|
|||
100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
|
||||
provide the PHY (physical media interface).
|
||||
|
||||
config ETHOC
|
||||
bool "OpenCores 10/100 Mbps Ethernet MAC"
|
||||
help
|
||||
This MAC is present in OpenRISC and Xtensa XTFPGA boards.
|
||||
|
||||
config MVPP2
|
||||
bool "Marvell Armada 375 network interface support"
|
||||
depends on ARMADA_375
|
||||
|
|
|
@ -44,7 +44,6 @@
|
|||
/*
|
||||
* Ethernet
|
||||
*/
|
||||
#define CONFIG_ETHOC
|
||||
#define CONFIG_SYS_ETHOC_BASE 0x92000000
|
||||
|
||||
#define CONFIG_BOOTFILE "boot.img"
|
||||
|
|
Loading…
Reference in a new issue