[PATCH 4/6] km: pg-wcom-ls102xa: add netdev in board env file

Holger Brunck holger.brunck at hitachienergy.com
Mon Jul 14 15:22:19 CEST 2025


Upcoming boards will have different ethernet interfaces. So we move this
variable out of the common code.

Signed-off-by: Holger Brunck <holger.brunck at hitachienergy.com>
---
 board/keymile/pg-wcom-ls102xa/pg-wcom-expu1.env | 1 +
 board/keymile/pg-wcom-ls102xa/pg-wcom-seli8.env | 1 +
 include/env/pg-wcom/ls102xa.env                 | 1 -
 3 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/board/keymile/pg-wcom-ls102xa/pg-wcom-expu1.env b/board/keymile/pg-wcom-ls102xa/pg-wcom-expu1.env
index 1054dbf9f54..c1c73b7da49 100644
--- a/board/keymile/pg-wcom-ls102xa/pg-wcom-expu1.env
+++ b/board/keymile/pg-wcom-ls102xa/pg-wcom-expu1.env
@@ -1,3 +1,4 @@
 #include <env/pg-wcom/ls102xa.env>
 
 hostname=EXPU1
+netdev=eth2
diff --git a/board/keymile/pg-wcom-ls102xa/pg-wcom-seli8.env b/board/keymile/pg-wcom-ls102xa/pg-wcom-seli8.env
index 1232fe9da8b..bbfa8194a7e 100644
--- a/board/keymile/pg-wcom-ls102xa/pg-wcom-seli8.env
+++ b/board/keymile/pg-wcom-ls102xa/pg-wcom-seli8.env
@@ -1,3 +1,4 @@
 #include <env/pg-wcom/ls102xa.env>
 
 hostname=SELI8
+netdev=eth2
diff --git a/include/env/pg-wcom/ls102xa.env b/include/env/pg-wcom/ls102xa.env
index abbec424574..88aaac8f008 100644
--- a/include/env/pg-wcom/ls102xa.env
+++ b/include/env/pg-wcom/ls102xa.env
@@ -8,7 +8,6 @@ checkfdt=true
 cramfsloadfdt=cramfsload $fdt_addr_r fdt_0x${IVM_BoardId}_0x${IVM_HWKey}.dtb
 ethrotate=no
 hwconfig=devdis:esdhc,usb3,usb2,sata,sec,dcu,duart2,qspi,can1,can2_4,ftm2_8,i2c2_3,sai1_4,lpuart2_6,asrc,spdif,lpuart1,ftm1
-netdev=eth2
 
 newenv=protect off CONFIG_ENV_ADDR_REDUND +0x40000 &&
        erase CONFIG_ENV_ADDR_REDUND +0x40000 &&
-- 
2.49.0



More information about the U-Boot mailing list