mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-24 20:54:24 +08:00
arm: mvebu: turris_omnia: Fix setting switch CONFIG pins on new board design
It seems that waiting only 10 ms after releasing LAN switch from reset is not enough for the strapping pins to latch the requested values. P6_MODE[0] is latched to 0 instead of 1. Increasing the delay to 50 ms fixes this issue. Signed-off-by: Marek Behún <kabel@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
4f2c559b9a
commit
711b5fd232
@ -654,7 +654,7 @@ static void initialize_switch(void)
|
||||
ctrl[1] = EXT_CTL_nRES_LAN;
|
||||
err = omnia_mcu_write(CMD_EXT_CONTROL, ctrl, sizeof(ctrl));
|
||||
|
||||
mdelay(10);
|
||||
mdelay(50);
|
||||
|
||||
/* Change RGMII pins back to RGMII mode */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user