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>
This commit is contained in:
Tom Rini
2022-03-11 09:12:07 -05:00
parent 5d6a64f71d
commit 0e14cdfaf3
297 changed files with 458 additions and 154 deletions

12
env/Kconfig vendored
View File

@@ -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