sandbox: add concept of sandbox state
authorSimon Glass <sjg@chromium.org>
Wed, 15 Feb 2012 23:51:15 +0000 (15:51 -0800)
committerMike Frysinger <vapier@gentoo.org>
Mon, 12 Mar 2012 15:06:00 +0000 (11:06 -0400)
commit6fb62078210b78ff5cc87829a62166feebb8e9dc
tree339e41496993526f0c83bb995bb109b4b4ce47a8
parent20186a1cbff3fd87954627538ce712a162c22351
sandbox: add concept of sandbox state

The state exists through the life of U-Boot. It can be adjusted by command
line options and perhaps later through a config file.  It is available to
U-Boot through state_...() calls (within sandbox code).

The primary purpose of this is to contain the "hardware" state.  It should
only be used by sandbox internal code.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/sandbox/cpu/Makefile
arch/sandbox/cpu/start.c
arch/sandbox/cpu/state.c [new file with mode: 0644]
arch/sandbox/include/asm/state.h [new file with mode: 0644]