]> git.baikalelectronics.ru Git - uboot.git/commit
arm: apple: Use watchdog timer for system reset
authorMark Kettenis <kettenis@openbsd.org>
Wed, 12 Jan 2022 18:55:17 +0000 (19:55 +0100)
committerStefan Roese <sr@denx.de>
Thu, 13 Jan 2022 05:55:46 +0000 (06:55 +0100)
commit410ba0d689b083270d149876aacce07b9ca10bec
tree3d599b7b9f5d272b83db67a8455146882183edf0
parent495f6e25e2b41273db2e09860cc128312fcf55a8
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>
arch/arm/Kconfig
arch/arm/mach-apple/board.c