u-boot/board/sunxi
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
..
ahci.c ahci: mmio_base is a virtual address 2015-04-18 16:54:29 -04:00
board.c sunxi: Fix gmac not working due to cpu_eth_init no longer being called 2016-03-23 22:04:13 +01:00
dram_sun4i_auto.c Kill unneeded #include <linux/kconfig.h> 2015-07-27 15:02:12 -04:00
dram_sun5i_auto.c Kill unneeded #include <linux/kconfig.h> 2015-07-27 15:02:12 -04:00
dram_timings_sun4i.h sunxi: dram: Optionally use standard JEDEC timings for sun[457]i 2015-02-02 14:04:15 +01:00
gmac.c sunxi: Fix gmac not working due to cpu_eth_init no longer being called 2016-03-23 22:04:13 +01:00
Kconfig sunxi: Add support for USB vbus pin for USB3 2016-03-23 22:04:13 +01:00
MAINTAINERS sunxi: Add defconfig and dts for Orange Pi 2 SBC 2016-03-23 22:04:13 +01:00
Makefile sunxi: Convert sun5i boards to use auto dram configuration 2015-02-02 13:55:14 +01:00