openbmc / u-boot

OpenBMC "Das U-Boot" Source Tree
13 stars 51 forks source link

MAC needs to be stopped after starting #3

Closed nkskjames closed 8 years ago

nkskjames commented 8 years ago

We found that u-boot network was corrupting kernel memory. This is because aspeednic_init is called at startup, but if the u-boot network is not used, the network driver is not cleaned up. This fix is a temporary hack and just calls the halt function after the init. This driver needs to be reworked to not start network initially and use set_hwaddr hook to setup MAC address.

Signed-off-by: Norman James nkskjames@gmail.com


This change is Review on Reviewable