From: Pali Rohár Date: Wed, 6 Apr 2022 09:39:33 +0000 (+0200) Subject: arm: mvebu: turris_omnia: Define CONFIG_ETHPRIME instead of ethact= ENV X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-logo.png?a=commitdiff_plain;h=31f88018d924fffaa9b710017261e415850ef2b2;p=u-boot.git arm: mvebu: turris_omnia: Define CONFIG_ETHPRIME instead of ethact= ENV CONFIG_ETHPRIME defines primary ethernet device and env variable $ethact stores currently active ethernet device. So there is no point to set ethact= in default environment. Instead set CONFIG_ETHPRIME properly. Signed-off-by: Pali Rohár Reviewed-by: Marek Behún --- diff --git a/configs/turris_omnia_defconfig b/configs/turris_omnia_defconfig index f310debe6f..5591c9716b 100644 --- a/configs/turris_omnia_defconfig +++ b/configs/turris_omnia_defconfig @@ -64,6 +64,8 @@ CONFIG_CMD_FS_UUID=y # CONFIG_SPL_PARTITION_UUIDS is not set CONFIG_ENV_OVERWRITE=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y +CONFIG_USE_ETHPRIME=y +CONFIG_ETHPRIME="ethernet@34000" CONFIG_ARP_TIMEOUT=200 CONFIG_NET_RETRY_COUNT=50 CONFIG_SPL_OF_TRANSLATE=y diff --git a/include/configs/turris_omnia.h b/include/configs/turris_omnia.h index b35299b2fb..e8130ac858 100644 --- a/include/configs/turris_omnia.h +++ b/include/configs/turris_omnia.h @@ -119,7 +119,6 @@ LOAD_ADDRESS_ENV_SETTINGS \ "fdtfile=" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \ "console=ttyS0,115200\0" \ - "ethact=ethernet@34000\0" \ "bootcmd_rescue=" TURRIS_OMNIA_BOOTCMD_RESCUE "\0" \ BOOTENV