u-boot/arch/sandbox/cpu
Rabin Vincent 7dbcb76e77 sandbox: init cli for -c
sandbox crashes if a variable is set in the -c command, because
hush's top_vars is not allocated.  Call cli_init() from sandbox
to ensure this is done before we execute the -c command.

 $ ./u-boot -c 'a=1'
 ...
 Segmentation fault (core dumped)

Signed-off-by: Rabin Vincent <rabin@rab.in>
Acked-by: Simon Glass <sjg@chromium.org)
Tested-by: Simon Glass <sjg@chromium.org)
2014-11-07 16:27:05 -05:00
..
cpu.c sandbox: Remove all drivers before exit 2014-07-23 14:07:24 +01:00
Makefile sandbox: Add SDL library for LCD, keyboard, audio 2014-03-17 20:05:48 -06:00
os.c sandbox: terminate os_dirent_ls() result list 2014-06-23 15:37:24 -06:00
sdl.c sandbox: Add SDL library for LCD, keyboard, audio 2014-03-17 20:05:48 -06:00
start.c sandbox: init cli for -c 2014-11-07 16:27:05 -05:00
state.c sandbox: Add options to clean up temporary files 2014-03-17 20:05:49 -06:00
u-boot.lds Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00