diff options
author | Mark Kettenis <kettenis@openbsd.org> | 2022-01-12 19:55:17 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2022-01-13 06:55:46 +0100 |
commit | 9a8e3736da25a62449f84aef2b566e2b31ca60fd (patch) | |
tree | 3d599b7b9f5d272b83db67a8455146882183edf0 /arch/arm/Kconfig | |
parent | b0e6c73a790815c80092da10269d26125b05a435 (diff) |
arm: apple: Use watchdog timer for system reset
Rely on the new watchdog timer driver and the sysreset uclass to
reset the system. This gets rid of hard-coded addresses and
should work on systems based on the new M1 Pro and M1 Max SoCs
as well.
Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Tested-on: Apple M1 Macbook
Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 7264d72bde9..78c6b2e92dc 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -942,6 +942,9 @@ config ARCH_APPLE select OF_CONTROL select PINCTRL select POSITION_INDEPENDENT + select SYSRESET + select SYSRESET_WATCHDOG + select SYSRESET_WATCHDOG_AUTO select USB imply CMD_DM imply CMD_GPT |