u-boot/drivers/sysreset
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
..
Kconfig sysreset: socfpga: agilex: Enable sysreset support 2020-10-09 17:53:11 +08:00
Makefile sysreset: socfpga: soc64: Rename SYSRESET SoCFPGA driver for S10 to SoC64 2020-10-09 17:53:11 +08:00
sysreset-ti-sci.c sysreset: ti: Fix not calling dev_err with a device 2020-09-30 08:53:48 -04:00
sysreset-uclass.c dm: sysreset: wait after reset message 2020-08-01 11:58:39 +02:00
sysreset_ast.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
sysreset_gpio.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
sysreset_microblaze.c sysreset: Add support for Microblaze soft reset jump 2018-07-19 10:49:55 +02:00
sysreset_mpc83xx.c treewide: Fix wrong CONFIG_IS_ENABLED() handling 2020-10-14 11:16:34 -04:00
sysreset_mpc83xx.h mpc83xx: Add sysreset driver 2018-09-18 00:01:18 -06:00
sysreset_octeon.c sysreset: Add Octeon sysreset driver 2020-07-18 14:23:25 +02:00
sysreset_psci.c sysreset: switch to using SYSRESET_POWER_OFF for poweroff 2019-08-19 12:43:26 +08:00
sysreset_resetctl.c sysreset: add reset controller based reboot driver 2020-04-27 20:29:33 +02:00
sysreset_rockchip.c rockchip: use 'arch-rockchip' as header file path 2019-05-01 00:00:05 +02:00
sysreset_sandbox.c sandbox: implement reset 2020-11-05 09:11:30 -07:00
sysreset_socfpga.c treewide: convert devfdt_get_addr_ptr() to dev_read_addr_ptr() 2020-08-22 08:53:37 -06:00
sysreset_socfpga_soc64.c sysreset: socfpga: soc64: Rename SYSRESET SoCFPGA driver for S10 to SoC64 2020-10-09 17:53:11 +08:00
sysreset_sti.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
sysreset_syscon.c sysreset: syscon: Support value property 2020-07-24 14:55:49 +08:00
sysreset_watchdog.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sysreset_x86.c x86: Move acpi_s3.h to include/acpi/ 2020-04-16 14:36:28 +08:00
sysreset_xtfpga.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00