diff options
| author | Jonas Karlman <[email protected]> | 2024-11-05 16:00:35 +0000 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-01-10 18:56:15 -0600 |
| commit | 57237c7f41d21b09c95421e00f6dd370a550a257 (patch) | |
| tree | 97dbe555b1dfe07b8fa14ec336b5f3d265cb6e7d /scripts/basic/fixdep.c | |
| parent | a0a880942b03fb1e6b8abe1d83ed20bf6c55a8b8 (diff) | |
rockchip: rk3288-tinker: Fix slow Ethernet initializion
For some reason the Ethernet PHY reset delay is set to 1 second, this
cause an unneccecery long boot delay.
Tinker Board use RTL8211E or RTL8211F Ethernet PHY, datasheet list an
initial 10ms delay and then a 30-76ms delay before accessing registers.
Change to use 80ms delay instead of a full second to speed up Ethernet
initializion in U-Boot.
Also enable PHY_REALTEK, DM_ETH_PHY and PHY_GIGE to improve Ethernet PHY
support in U-Boot.
Before:
1,404,971 960,924 eth_common_init
2,438,830 1,033,859 eth_initialize
2,444,449 5,619 main_loop
2,445,153 704 cli_loop
After:
1,404,987 960,710 eth_common_init
1,519,110 114,123 eth_initialize
1,524,734 5,624 main_loop
1,525,452 718 cli_loop
Signed-off-by: Jonas Karlman <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
Diffstat (limited to 'scripts/basic/fixdep.c')
0 files changed, 0 insertions, 0 deletions
