diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2015-03-10 15:54:26 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-03-12 08:28:31 +0100 |
commit | 1487e6b9ad2ec0fafb0a2a35c921a33fb6c37fec (patch) | |
tree | 22ae6baae5a65993b9ad46b39bdbc1e7f210b79e /commands/Kconfig | |
parent | dcc4a70a3c279669d21a90764cda29854244c237 (diff) | |
download | barebox-1487e6b9ad2ec0fafb0a2a35c921a33fb6c37fec.tar.gz barebox-1487e6b9ad2ec0fafb0a2a35c921a33fb6c37fec.tar.xz |
state: add framework for persistent state handling
This patch adds a framework to describe, access, store and restore a set of
variables. A state variable set can be fully described in a devicetree node.
This node could be part of the regular devicetree blob or it could be an extra
devicetree solely for the state. The state variable set contains variables of
different types and a place to store the variable set.
For more information see:
Documentation/devicetree/bindings/barebox/barebox,state.rst
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Kconfig')
-rw-r--r-- | commands/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig index e4f68e7bda..00ce96238c 100644 --- a/commands/Kconfig +++ b/commands/Kconfig @@ -2062,6 +2062,11 @@ config CMD_TIME Note: This command depends on COMMAND being interruptible, otherwise the timer may overrun resulting in incorrect results +config CMD_STATE + tristate + depends on STATE + prompt "state" + # end Miscellaneous commands endmenu |