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>
1 parent dcc4a70 commit 1487e6b9ad2ec0fafb0a2a35c921a33fb6c37fec
@Sascha Hauer Sascha Hauer authored on 10 Mar 2015
Showing 11 changed files
View
Documentation/devicetree/bindings/barebox/barebox,state.rst 0 → 100644
View
commands/Kconfig
View
commands/Makefile
View
commands/state.c 0 → 100644
View
common/Kconfig
View
common/Makefile
View
common/state.c 0 → 100644
Too large (Show diff)
View
drivers/misc/Kconfig
View
drivers/misc/Makefile
View
drivers/misc/state.c 0 → 100644
View
include/state.h 0 → 100644