diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-07-01 07:42:25 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-09-22 11:20:52 +0200 |
commit | 45325c21d7f2695c7b114b0df47f4a1a75ed68f2 (patch) | |
tree | 4560cd5de6711964b21fd4aa751524e6abaf4915 /arch/arm/boards | |
parent | 6cd4fee0506683b3a3699116f9f4df82a728c73b (diff) | |
download | barebox-45325c21d7f2695c7b114b0df47f4a1a75ed68f2.tar.gz barebox-45325c21d7f2695c7b114b0df47f4a1a75ed68f2.tar.xz |
ARM: i.MX53 Vincell: Reset phy consistently from device tree
The phy reset for the Vincell board is done from device tree whereas
the Vincell-LT resets the phy from board init code. Since both boards
share the same code base the regular Vincell board ends up with a
duplicated phy reset, with the second reset being done after the
FEC has been initialized.
Fix this by removing the phy reset from the board code and adding the
phy reset to the Vincell-LT dts file.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards')
-rw-r--r-- | arch/arm/boards/guf-vincell/board.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/arm/boards/guf-vincell/board.c b/arch/arm/boards/guf-vincell/board.c index 43c195254e..ee5be10991 100644 --- a/arch/arm/boards/guf-vincell/board.c +++ b/arch/arm/boards/guf-vincell/board.c @@ -29,15 +29,6 @@ #include <mach/bbu.h> #include <mach/imx5.h> -#define LOCO_FEC_PHY_RST IMX_GPIO_NR(7, 6) - -static void vincell_fec_reset(void) -{ - gpio_direction_output(LOCO_FEC_PHY_RST, 0); - mdelay(1); - gpio_set_value(LOCO_FEC_PHY_RST, 1); -} - static int vincell_devices_init(void) { if (!of_machine_is_compatible("guf,imx53-vincell") && @@ -49,8 +40,6 @@ static int vincell_devices_init(void) clk_set_rate(clk_lookup("emi_slow_podf"), 133333334); clk_set_rate(clk_lookup("nfc_podf"), 33333334); - vincell_fec_reset(); - imx53_bbu_internal_nand_register_handler("nand", BBU_HANDLER_FLAG_DEFAULT, SZ_512K); |