u-boot/drivers/sysreset
Simon Glass 40476f4afc x86: sysreset: Separate out the EFI code
The EFI implementation of reset sits inside the driver and is called
directly from outside the driver, breaking the normal driver-model
conventions. Worse, it passed NULL as the device pointer, hoping that
the called function won't use it, which breaks as soon as code is added
to use it.

Separate out the implementation to improve the situation enough to allow
a future patch to add new sysreset features.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2019-05-08 13:02:15 +08:00
..
Kconfig mpc83xx: Add sysreset driver 2018-09-18 00:01:18 -06:00
Makefile mpc83xx: Add sysreset driver 2018-09-18 00:01:18 -06:00
sysreset-ti-sci.c sysreset: Add TI System Control Interface (TI SCI) sysreset driver 2018-09-11 08:32:55 -04:00
sysreset-uclass.c sysreset: Add a way to find the last reset 2018-10-09 04:40:27 -06:00
sysreset_ast.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sysreset_gpio.c sysreset: Add support for gpio-restart 2018-07-19 10:49:55 +02:00
sysreset_microblaze.c sysreset: Add support for Microblaze soft reset jump 2018-07-19 10:49:55 +02:00
sysreset_mpc83xx.c mpc83xx: Add sysreset driver 2018-09-18 00:01:18 -06:00
sysreset_mpc83xx.h mpc83xx: Add sysreset driver 2018-09-18 00:01:18 -06:00
sysreset_psci.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sysreset_rockchip.c rockchip: use 'arch-rockchip' as header file path 2019-05-01 00:00:05 +02:00
sysreset_sandbox.c sandbox: sysreset: Update to support power-on reset 2018-12-05 06:01:34 -07:00
sysreset_sti.c regmap: clean up regmap allocation 2018-05-07 15:15:27 -04:00
sysreset_syscon.c sysreset: syscon: remove POWER reset cause 2019-04-26 18:58:22 -04: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: sysreset: Separate out the EFI code 2019-05-08 13:02:15 +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