boards: siemens: iot2050: Ignore network errors during bootstage tracking

We need to filter out NET_ETH_START errors because we have to enable
networking in order to propagate the MAC addresses to the DT while there
is no network driver for the prueth in U-Boot yet.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
Jan Kiszka 2021-11-03 15:12:30 +01:00 committed by Tom Rini
parent 83ef79b60b
commit f01081d8f7

View File

@ -259,7 +259,8 @@ void show_boot_progress(int progress)
struct udevice *dev; struct udevice *dev;
int ret; int ret;
if (progress < 0 || progress == BOOTSTAGE_ID_ENTER_CLI_LOOP) { if ((progress < 0 && progress != -BOOTSTAGE_ID_NET_ETH_START) ||
progress == BOOTSTAGE_ID_ENTER_CLI_LOOP) {
ret = led_get_by_label("status-led-green", &dev); ret = led_get_by_label("status-led-green", &dev);
if (ret == 0) if (ret == 0)
led_set_state(dev, LEDST_OFF); led_set_state(dev, LEDST_OFF);