u-boot-brain/arch/sandbox
Heinrich Schuchardt 329dccc067 sandbox: implement reset
Up to now the sandbox would shutdown upon a cold reset request. Instead it
should be reset.

In our coding we use static variables like LIST_HEAD(efi_obj_list). A reset
can occur at any time, e.g. via an UEFI binary calling the reset service.
The only safe way to return to an initial state is to relaunch the U-Boot
binary.

The reset implementation uses execv() to relaunch U-Boot.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
2020-11-05 09:11:30 -07:00
..
cpu sandbox: implement reset 2020-11-05 09:11:30 -07:00
dts dm: Add a test for of-platdata parent information 2020-10-29 14:42:18 -06:00
include/asm sandbox: implement reset 2020-11-05 09:11:30 -07:00
lib common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
config.mk sandbox: sdl: Move to use SDL2 2020-02-05 19:33:46 -07:00
Kconfig sandbox: make RAM size configurable 2020-07-09 18:57:22 -06:00
Makefile sandbox: Use 'extras' to specify 'head' files 2018-12-05 06:01:34 -07:00