u-boot-brain/arch/arm
Hans de Goede fc8991c61c sunxi: Fix gmac not working due to cpu_eth_init no longer being called
cpu_eth_init is no longer called for dm enabled eth drivers, this
was causing the sunxi gmac eth controller to no longer work in u-boot.

This commit fixes this by calling the clock, reset and pinmux setup
function from s_init() and enabling the phy power pin (if any) from
board_init().

The enabling of phy power cannot be done from s_init because it uses dm
and dm is not ready yet at this point.

Note that the mdelay is dropped as the phy gets enabled much earlier
now, so it is no longer needed.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Tested-by: Karsten Merker <merker@debian.org>
Tested-by: Michael Haas <haas@computerlinguist.org>
2016-03-23 22:04:13 +01:00
..
cpu sunxi: Fix gmac not working due to cpu_eth_init no longer being called 2016-03-23 22:04:13 +01:00
dts sunxi: Add defconfig and dts for Orange Pi 2 SBC 2016-03-23 22:04:13 +01:00
imx-common imx: imx-common: introduce boot auxiliary core 2016-02-21 11:46:26 +01:00
include sunxi: Fix gmac not working due to cpu_eth_init no longer being called 2016-03-23 22:04:13 +01:00
lib armv8: lsch3: Enable WUO config for RNI-20 node 2016-03-21 12:42:10 -07:00
mach-at91 spl: arm: Make sure to include all of the u_boot_list entries 2016-03-16 15:27:55 -04:00
mach-bcm283x rpi: set board serial number in environment 2016-02-24 18:44:12 -05:00
mach-davinci arm: Add support for LEGO MINDSTORMS EV3 2016-03-14 19:18:40 -04:00
mach-exynos Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
mach-highbank ARM: highbank: move SoC sources to mach-highbank 2015-02-21 08:23:51 -05:00
mach-integrator integrator: switch to DM serial port 2015-08-12 20:47:49 -04:00
mach-keystone ARM: keystone2: Only link cmd_ddr3.o on non-SPL builds 2016-03-16 15:03:34 -04:00
mach-kirkwood arm: mvebu/kirkwood: Use common timer functions 2016-01-14 14:08:59 +01:00
mach-mvebu arm: mvebu: Add support for the Armada XP theadorable board 2016-01-27 07:45:43 +01:00
mach-orion5x Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
mach-rockchip dm: Use uclass_first_device_err() where it is useful 2016-03-14 15:34:50 -06:00
mach-s5pc1xx arm: s5pc1xx: move SoC to mach-s5pc1xx 2015-11-30 17:17:01 +09:00
mach-socfpga arm: socfpga: Fix ethernet reset handling 2016-02-24 19:13:03 +01:00
mach-stm32 stm32: add support for stm32f7 & stm32f746 discovery board 2016-02-24 18:43:57 -05:00
mach-tegra tegra: Replace home grown mmu code with generic table approach 2016-03-15 15:13:04 -04:00
mach-uniphier ARM: uniphier: allow debug_ll_init() to do nothing for unknown SoCs 2016-03-09 01:11:15 +09:00
mach-versatile arm: Remove versatileab board 2015-09-11 15:01:25 -04:00
mach-zynq spl: arm: Make sure to include all of the u_boot_list entries 2016-03-16 15:27:55 -04:00
thumb1/include/asm/proc-armv arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD 2015-11-10 15:03:48 +01:00
config.mk efi_loader: Add runtime services 2016-03-15 18:03:10 -04:00
Kconfig ARM: keystone2: Switch to using the poweroff command 2016-03-16 15:03:32 -04:00
Kconfig.debug arm: debug: add Kconfig entries for lowlevel debug 2014-10-26 22:23:12 +01:00
Makefile arm: the ARM920T is THUMB capable, so select the appropriate ISA 2016-02-15 12:04:45 -05:00