]> git.sur5r.net Git - u-boot/commit
ARM: k2g: Configure reset mux to device reset
authorLokesh Vutla <lokeshvutla@ti.com>
Thu, 26 May 2016 13:35:44 +0000 (19:05 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 3 Jun 2016 01:42:19 +0000 (21:42 -0400)
commite2924e5904ae413e0b4a2a0d407267e7bbc2c7c4
tree1d76627954ef21aca21b30adb44dc17544ed76c6
parenteafd4644c0edc140f034d5eb7cb07529ab0a6dc7
ARM: k2g: Configure reset mux to device reset

BOOTCFG_RSTMUX8 register controls the reset mux associated with the ARM.
Timer5(dedicated to ARM) when used as WatchDog timer, the events it
generates are routed to the above mux.

Following are the 3 events that can controlled bt the reset mux:
- Device Reset
- An interrupt to the ARM_GIC
- An interrupt to the ARM_GIC followed by a device reset.

Right now to give a default watchdog behaviour "Device reset" is
being selected.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Acked-by: Nishanth Menon <nm@ti.com>
arch/arm/mach-keystone/include/mach/hardware-k2g.h
board/ti/ks2_evm/board_k2g.c