summaryrefslogtreecommitdiffstats
path: root/drivers/misc/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-03-10 15:54:26 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-03-12 08:28:31 +0100
commit1487e6b9ad2ec0fafb0a2a35c921a33fb6c37fec (patch)
tree22ae6baae5a65993b9ad46b39bdbc1e7f210b79e /drivers/misc/Kconfig
parentdcc4a70a3c279669d21a90764cda29854244c237 (diff)
downloadbarebox-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 'drivers/misc/Kconfig')
-rw-r--r--drivers/misc/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index c34a4af512..7a5b14697e 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -15,4 +15,8 @@ config SRAM
help
This driver adds support for memory mapped SRAM.
+config STATE_DRV
+ tristate "state driver"
+ depends on STATE
+
endmenu