[PATCH 2/5] arm: mvebu: turris_omnia: Define CONFIG_ETHPRIME instead of ethact= ENV
Stefan Roese
sr at denx.de
Mon May 2 07:48:07 CEST 2022
On 06.04.22 11:39, Pali Rohár wrote:
> 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 <pali at kernel.org>
> ---
> include/configs/turris_omnia.h | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/include/configs/turris_omnia.h b/include/configs/turris_omnia.h
> index b35299b2fbb3..15f874ea22e1 100644
> --- a/include/configs/turris_omnia.h
> +++ b/include/configs/turris_omnia.h
> @@ -26,6 +26,8 @@
> "fdt_high=0x10000000\0" \
> "initrd_high=0x10000000\0"
>
> +#define CONFIG_ETHPRIME "ethernet at 34000"
> +
This was moved to Kconfig in the meantime. I'll make the necessary
myself, no need to resend.
Thanks,
Stefan
> /* Defines for SPL */
> #define CONFIG_SPL_SIZE (140 << 10)
> #define CONFIG_SPL_MAX_SIZE (CONFIG_SPL_SIZE - (CONFIG_SPL_TEXT_BASE - 0x40000000))
> @@ -119,7 +121,6 @@
> LOAD_ADDRESS_ENV_SETTINGS \
> "fdtfile=" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \
> "console=ttyS0,115200\0" \
> - "ethact=ethernet at 34000\0" \
> "bootcmd_rescue=" TURRIS_OMNIA_BOOTCMD_RESCUE "\0" \
> BOOTENV
>
Viele Grüße,
Stefan Roese
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de
More information about the U-Boot
mailing list