summaryrefslogtreecommitdiffstats
path: root/commands/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-12-08 14:54:09 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-12-08 14:54:09 +0100
commit3eade89c7573f8893fe045290e374d4502092e13 (patch)
treedefd4218ff82053d44f54595af4e882ea7eb988a /commands/Kconfig
parentc2b5a7015b7323af4b7c8cf19a06b954f4f09949 (diff)
parent7962e7a0b423a5dfba251622f64d3891f69a55c0 (diff)
downloadbarebox-3eade89c7573f8893fe045290e374d4502092e13.tar.gz
barebox-3eade89c7573f8893fe045290e374d4502092e13.tar.xz
Merge branch 'for-next/persistent-vars'
Conflicts: arch/arm/boards/efika-mx-smartbook/defaultenv-efikasb/config
Diffstat (limited to 'commands/Kconfig')
-rw-r--r--commands/Kconfig21
1 files changed, 21 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig
index 52ba8b3822..2a73bf1f87 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -674,6 +674,20 @@ endmenu
menu "Environment"
+config CMD_NV
+ select GLOBALVAR
+ tristate
+ prompt "nv"
+ help
+ create, set or remove non volatile variables.
+
+ Usage: nv [-r] VAR[=VALUE]
+
+ Add a new config non volatile named VAR, optionally set to VALUE.
+
+ Options:
+ -r remove a non volatile variable
+
config CMD_EXPORT
depends on ENVIRONMENT_VARIABLES
tristate
@@ -685,6 +699,13 @@ config CMD_EXPORT
Export an environment variable to subsequently executed scripts.
+config CMD_DEFAULTENV
+ tristate
+ select ENV_HANDLING
+ prompt "defaultenv"
+ help
+ restore environment from default environment
+
config CMD_GLOBAL
select GLOBALVAR
tristate