u-boot/arch/sandbox
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 sandbox: init cli for -c 2014-11-07 16:27:05 -05:00
dts sandbox: dts: Add a SPI device and cros_ec device 2014-10-22 10:36:45 -06:00
include/asm Provide option to avoid defining a custom version of uintptr_t. 2014-10-27 11:04:01 -04:00
lib Revert "sandbox: move source files from board/ to arch/sandbox/" 2014-05-16 11:40:51 -07:00
config.mk kconfig: delete redundant CONFIG_${ARCH} definition 2014-07-30 14:42:02 -04:00
Kconfig kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00