Re: [U-Boot] [PATCH v3 5/8] sandbox: Add concept of sandbox state

2012-02-15 Thread Simon Glass
Hi Mike, On Tue, Jan 24, 2012 at 3:05 PM, Mike Frysinger vap...@gentoo.org wrote: On Monday 23 January 2012 01:48:50 Simon Glass wrote: --- a/arch/sandbox/cpu/start.c +++ b/arch/sandbox/cpu/start.c  int main(int argc, char *argv[])  { +     struct sandbox_state *state = NULL; +     int

Re: [U-Boot] [PATCH v3 5/8] sandbox: Add concept of sandbox state

2012-01-24 Thread Mike Frysinger
On Monday 23 January 2012 01:48:50 Simon Glass wrote: --- a/arch/sandbox/cpu/start.c +++ b/arch/sandbox/cpu/start.c int main(int argc, char *argv[]) { + struct sandbox_state *state = NULL; + int err; + + err = state_init(); + if (!err) { + state =

[U-Boot] [PATCH v3 5/8] sandbox: Add concept of sandbox state

2012-01-22 Thread Simon Glass
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). Signed-off-by: Simon Glass s...@chromium.org --- arch/sandbox/cpu/Makefile