u-boot/arch/arm/cpu/armv7/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
..
board.c sunxi: Fix gmac not working due to cpu_eth_init no longer being called 2016-03-23 22:04:13 +01:00
clock_sun4i.c sun4i: clock: Cleanup some whitespace errors 2015-12-10 15:45:48 +01:00
clock_sun6i.c sunxi: Fix clock_twi_onoff for sun8i-a83 2016-03-23 22:04:13 +01:00
clock_sun8i_a83t.c sunxi: clk: add basic clocks for A83T 2015-12-10 15:45:47 +01:00
clock_sun9i.c sunxi: Fix clock_twi_onoff for sun9i 2016-03-23 22:04:13 +01:00
clock.c sunxi: Fix clock_twi_onoff for sun8i-a83 2016-03-23 22:04:13 +01:00
config.mk sunxi: Normalise FEL support 2015-02-16 20:15:09 +01:00
cpu_info.c sunxi: Add Machine Support for A83T SOC 2015-12-10 11:14:21 +01:00
dram_helpers.c sunxi: dram: Un-inline dram helper functions 2015-02-16 20:05:52 +01:00
dram_sun4i.c sunxi: Make DRAM_ODT_EN Kconfig setting a bool 2015-05-19 18:46:44 +02:00
dram_sun6i.c sunxi: Fix buggy sun6i/sun8i DRAM size detection logic 2015-01-14 14:56:37 +01:00
dram_sun8i_a23.c Kill unneeded #include <linux/kconfig.h> 2015-07-27 15:02:12 -04:00
dram_sun8i_a33.c Kill unneeded #include <linux/kconfig.h> 2015-07-27 15:02:12 -04:00
dram_sun8i_a83t.c sunxi: Add support for LPDDR3 for A83T 2016-01-26 16:20:05 +01:00
dram_sun8i_h3.c sunxi: Fix H3 DRAM DQ read delay configuration 2015-12-10 15:45:48 +01:00
fel_utils.S sunxi: Support the FEL boot mode in the regular u-boot build 2015-02-16 20:23:52 +01:00
Makefile sunxi: Support Secure Memory Touch Arbiter (SMTA) in sun8i H3 2016-01-26 16:20:04 +01:00
p2wi.c sun6i: s/SUNXI_*P2WI*/SUN6I_*P2WI*/ 2015-01-14 14:56:36 +01:00
pinmux.c dm: sunxi: Add pinmux functions which take a bank parameter 2014-11-05 13:09:58 +01:00
pmic_bus.c sunxi: power: enabled support for axp818 2015-12-10 11:14:22 +01:00
prcm.c sunxi: Add support for the I2C controller which is part of the PRCM 2016-01-21 07:30:01 +01:00
psci_sun6i.S sunxi: Support PSCI ops on Allwinner H3 2016-01-26 16:20:05 +01:00
psci_sun7i.S ARMv7: Factor out reusable timer_wait from sunxi/psci_sun7i.S 2015-07-20 11:44:38 -07:00
rsb.c sunxi: rsb: Enable R_PIO clock before configuring external pins 2015-07-05 11:32:11 +02:00
start.c sunxi: add sun7i cpu, board and start of day support 2014-05-25 16:12:40 +02:00
timer.c sunxi: add sun7i clocks and timer support. 2014-05-25 16:12:12 +02:00
tzpc.c sunxi: Support Secure Memory Touch Arbiter (SMTA) in sun8i H3 2016-01-26 16:20:04 +01:00
u-boot-spl.lds sunxi: Add i2c support 2014-07-18 19:41:30 +01:00
usb_phy.c sunxi: Add support for USB vbus pin for USB3 2016-03-23 22:04:13 +01:00