diff options
author | Peter Robinson <pbrobinson@gmail.com> | 2021-12-21 12:32:48 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-01-07 09:30:45 -0500 |
commit | 79ac6917d0fba793029c294fbfcb660a5a8fbdeb (patch) | |
tree | bd0523c129fb5bc61f699154cb7d0a3f339759d2 /board/udoo | |
parent | 2bbe1ba0c712c3eb1670952efa3351f501959eb3 (diff) | |
download | u-boot-79ac6917d0fba793029c294fbfcb660a5a8fbdeb.tar.gz u-boot-79ac6917d0fba793029c294fbfcb660a5a8fbdeb.tar.bz2 u-boot-79ac6917d0fba793029c294fbfcb660a5a8fbdeb.zip |
udoo_neo: Fix ethernet
The ethernet has a RMII not RGMII, also needs DM_MDIO and finally
initialise it later in the process as it's not needed that early on
and not everything is ready so it locks up the device.
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Diffstat (limited to 'board/udoo')
-rw-r--r-- | board/udoo/neo/neo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/udoo/neo/neo.c b/board/udoo/neo/neo.c index 8b0d13b1ca..62f81fff68 100644 --- a/board/udoo/neo/neo.c +++ b/board/udoo/neo/neo.c @@ -303,6 +303,8 @@ int board_init(void) setup_i2c(0, CONFIG_SYS_I2C_SPEED, 0x7f, &i2c_pad_info1); #endif + setup_fec(); + return 0; } @@ -337,7 +339,6 @@ static int get_board_value(void) int board_early_init_f(void) { setup_iomux_uart(); - setup_fec(); return 0; } |