diff options
author | Tom Rini <trini@konsulko.com> | 2022-03-11 09:12:07 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-03-18 12:48:17 -0400 |
commit | 0e14cdfaf3ce3e716a993554c8803e39640f0168 (patch) | |
tree | ed08e686c5e64691427bfb0b3c2619164ab0638d /env | |
parent | 5d6a64f71dcdfd91a6c1df070ddb3d71e34e952b (diff) | |
download | u-boot-0e14cdfaf3ce3e716a993554c8803e39640f0168.tar.gz u-boot-0e14cdfaf3ce3e716a993554c8803e39640f0168.tar.bz2 u-boot-0e14cdfaf3ce3e716a993554c8803e39640f0168.zip |
Convert CONFIG_ETHPRIME to Kconfig
This converts the following to Kconfig:
CONFIG_ETHPRIME
This is also done by adding a gating Kconfig option, CONFIG_USE_ETHPRIME
similar to other options that are not always set and control environment
variables.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'env')
-rw-r--r-- | env/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/env/Kconfig b/env/Kconfig index 443f2f7dd4..2f625b2257 100644 --- a/env/Kconfig +++ b/env/Kconfig @@ -835,6 +835,18 @@ config BOOTFILE help The value to set the "bootfile" variable to. +config USE_ETHPRIME + bool "Add an 'ethprime' environment variable" + help + The "ethprime" variable is used in some cases to control which + network interface is used first. + +config ETHPRIME + string "'ethprime' environment variable value" + depends on USE_ETHPRIME + help + The value to set the "ethprime" variable to. + config VERSION_VARIABLE bool "Add a 'ver' environment variable with the U-Boot version" help |