mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-17 23:48:52 +09:00
![Simon Glass](/assets/img/avatar_default.png)
Move this to Kconfig and clean up board config files that use it. Also rename it to CONFIG_ETH_DESIGNWARE to fit with the naming that exists in drivers/net/Kconfig. Signed-off-by: Simon Glass <sjg@chromium.org> Version 1: Acked-by: Joe Hershberger <joe.hershberger@ni.com>
24 lines
549 B
Plaintext
24 lines
549 B
Plaintext
CONFIG_SPL=y
|
|
CONFIG_SYS_EXTRA_OPTIONS="USB_EHCI,SUNXI_GMAC"
|
|
CONFIG_FDTFILE="sun6i-a31-m9.dtb"
|
|
CONFIG_ARM=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_MACH_SUN6I=y
|
|
CONFIG_DRAM_CLK=312
|
|
CONFIG_DRAM_ZQ=120
|
|
# The Mele M9 uses 3.3V for general IO
|
|
CONFIG_AXP221_DCDC1_VOLT=3300
|
|
# Ethernet phy power
|
|
CONFIG_AXP221_DLDO1_VOLT=3300
|
|
# USB hub power
|
|
CONFIG_AXP221_DLDO4_VOLT=3300
|
|
# Wifi power
|
|
CONFIG_AXP221_ALDO1_VOLT=3300
|
|
# Vbus gpio for usb1
|
|
CONFIG_USB1_VBUS_PIN="PC27"
|
|
# No Vbus gpio for usb2
|
|
CONFIG_USB2_VBUS_PIN=""
|
|
CONFIG_ETH_DESIGNWARE=y
|
|
CONFIG_NETDEVICES=y
|
|
CONFIG_NET=y
|