u-boot-brain/arch/arm/cpu
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
..
arm11 ARM: cache: implement a default weak flush_cache() function 2015-08-12 20:47:48 -04:00
arm720t ARM: ARM720t: remove empty asm/arch/hardware.h 2015-04-23 08:52:27 -04:00
arm920t ARM: start.S: fix typo 2016-02-29 14:49:35 -05:00
arm926ejs ARM: Various: Future-proof serial platdata 2016-03-14 19:18:48 -04:00
arm946es ARM: start.S: fix typo 2016-02-29 14:49:35 -05:00
arm1136 ARM: start.S: fix typo 2016-02-29 14:49:35 -05:00
arm1176 ARM: start.S: fix typo 2016-02-29 14:49:35 -05:00
armv7 sunxi: Fix gmac not working due to cpu_eth_init no longer being called 2016-03-23 22:04:13 +01:00
armv7m stm32: move stm32 specific code to mach-stm32 2016-01-20 10:19:41 -05:00
armv8 armv8/fsl-lsch2: fix sdhc clock frequency value 2016-03-21 12:42:14 -07:00
pxa ARM: start.S: fix typo 2016-02-29 14:49:35 -05:00
sa1100 ARM: start.S: fix typo 2016-02-29 14:49:35 -05:00
Makefile Various Makefiles: Add SPDX-License-Identifier tags 2015-11-10 09:19:52 -05:00
u-boot-spl.lds spl: arm: Make sure to include all of the u_boot_list entries 2016-03-16 15:27:55 -04:00
u-boot.lds arm: x86: Drop command-line code when CONFIG_CMDLINE is disabled 2016-03-22 12:16:09 -04:00