rock5b-rk3588: Deactivate MISC_INIT_R by default
The misc_init_r() function is only used to set a MAC address in ethaddr based on the cpuid.
On the Rock 5B board, the eth driver loads the MAC address from the ROM and only uses it if the ethaddr environment variable is not set.
With CONFIG_MISC_INIT_R=y, the ethaddr environment variable is set and the eth driver will warn that the MAC addresses don't match (ROM vs env), then proceed to using the MAC address from the env variable.
That can be confusing as the operating system will only use the ROM address, which is different than what u-boot uses.
By deactivating CONFIG_MISC_INIT_R, the MAC address in use is always the one retrieved from the ROM.
Merge request reports
Activity
Filter activity
Please register or sign in to reply