mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 22:20:45 +00:00
5f1a08b6ab
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
poweroff_gpio.c | ||
sysreset-ti-sci.c | ||
sysreset-uclass.c | ||
sysreset_ast.c | ||
sysreset_gpio.c | ||
sysreset_microblaze.c | ||
sysreset_mpc83xx.c | ||
sysreset_mpc83xx.h | ||
sysreset_octeon.c | ||
sysreset_psci.c | ||
sysreset_resetctl.c | ||
sysreset_rockchip.c | ||
sysreset_sandbox.c | ||
sysreset_socfpga.c | ||
sysreset_socfpga_soc64.c | ||
sysreset_sti.c | ||
sysreset_syscon.c | ||
sysreset_watchdog.c | ||
sysreset_x86.c | ||
sysreset_xtfpga.c |