u-boot/drivers/sysreset
Bin Meng 5f1a08b6ab dm: sysreset: Add a Kconfig option for the 'reset' command
sysreset uclass driver provides an implementation of 'reset'
command using the sysreset_ APIs unconditionally. It also
supports the 'poweroff' command using the sysreset_ APIs,
but under a Kconfig option CONFIG_SYSRESET_CMD_POWEROFF.

Let's do the same for the 'reset' command, by introducing a
new Kconfig option CONFIG_SYSRESET_CMD_RESET, and set it to
on by default, to allow a board that don't have a sysreset
reset driver yet, but have a sysreset poweroff driver to
compile without any issue.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
2021-03-05 10:25:43 +05:30
..
Kconfig dm: sysreset: Add a Kconfig option for the 'reset' command 2021-03-05 10:25:43 +05:30
Makefile
poweroff_gpio.c
sysreset-ti-sci.c
sysreset-uclass.c dm: sysreset: Add a Kconfig option for the 'reset' command 2021-03-05 10:25:43 +05:30
sysreset_ast.c aspeed: Add AST2600 platform support 2021-01-18 15:23:06 -05:00
sysreset_gpio.c
sysreset_microblaze.c
sysreset_mpc83xx.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
sysreset_mpc83xx.h
sysreset_octeon.c
sysreset_psci.c
sysreset_resetctl.c
sysreset_rockchip.c
sysreset_sandbox.c dm: Rename U_BOOT_DEVICE() to U_BOOT_DRVINFO() 2021-01-05 12:26:35 -07:00
sysreset_socfpga.c
sysreset_socfpga_soc64.c
sysreset_sti.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
sysreset_syscon.c
sysreset_watchdog.c
sysreset_x86.c x86: sysreset: Move priv/plat structs to headers 2021-01-05 12:24:41 -07:00
sysreset_xtfpga.c