All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 5/8] km: ls102x: set ethrotate envvar to no
@ 2021-06-08 14:21 Aleksandar Gerasimovski
  0 siblings, 0 replies; only message in thread
From: Aleksandar Gerasimovski @ 2021-06-08 14:21 UTC (permalink / raw)
  To: u-boot, Priyanka Jain (OSS), Rainer Boschung

The default behavior in the latest u-boot revisions is to rotate the
active net device to the next available if the requested link is not
established.

For our ls102x based devices this would mean that if active debug net
device is not available, u-boot will rotate and set the next net device
that is one of the estar adapters.
To return from this situation manual action to set correct ethact
adapter will be needed and this can be annoying when working in
debug mode.

Setting ethrotate=no will disable net adapter rotation and will make sure
that the primary adapter is always used.

Signed-off-by: Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachi-powergrids.com>
---
 include/configs/km/pg-wcom-ls102xa.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/configs/km/pg-wcom-ls102xa.h b/include/configs/km/pg-wcom-ls102xa.h
index 1e06a5b..644da3b 100644
--- a/include/configs/km/pg-wcom-ls102xa.h
+++ b/include/configs/km/pg-wcom-ls102xa.h
@@ -292,6 +292,7 @@
 	CONFIG_KM_NEW_ENV						\
 	CONFIG_KM_DEF_ENV						\
 	"EEprom_ivm=pca9547:70:9\0"					\
+	"ethrotate=no\0"						\
 	""
 
 #define CONFIG_SYS_BOOTM_LEN	(64 << 20) /* Increase max gunzip size */
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-08 14:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-08 14:21 [PATCH 5/8] km: ls102x: set ethrotate envvar to no Aleksandar Gerasimovski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.