summaryrefslogtreecommitdiff
path: root/board/siemens
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2021-11-03 15:12:30 +0100
committerTom Rini <trini@konsulko.com>2021-11-11 19:02:44 -0500
commitf01081d8f7560d360f9745d907e4215e356ecd73 (patch)
tree0f58fc6ebc32a286809bd968332b69b010f832e1 /board/siemens
parent83ef79b60b80f3009b5efecec6c377991c9fb5e3 (diff)
downloadu-boot-f01081d8f7560d360f9745d907e4215e356ecd73.tar.gz
u-boot-f01081d8f7560d360f9745d907e4215e356ecd73.tar.bz2
u-boot-f01081d8f7560d360f9745d907e4215e356ecd73.zip
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>
Diffstat (limited to 'board/siemens')
-rw-r--r--board/siemens/iot2050/board.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/siemens/iot2050/board.c b/board/siemens/iot2050/board.c
index 16ae2ffc17..b965ae9fa4 100644
--- a/board/siemens/iot2050/board.c
+++ b/board/siemens/iot2050/board.c
@@ -259,7 +259,8 @@ void show_boot_progress(int progress)
struct udevice *dev;
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);
if (ret == 0)
led_set_state(dev, LEDST_OFF);