]> git.sur5r.net Git - u-boot/commit
imx: ventana: add 'gsc wd' command for enabling and disabling GSC watchdog
authorTim Harvey <tharvey@gateworks.com>
Wed, 8 Apr 2015 19:54:59 +0000 (12:54 -0700)
committerStefano Babic <sbabic@denx.de>
Wed, 22 Apr 2015 12:39:11 +0000 (14:39 +0200)
commitee5931d488122f1d4510bf03d37183fabd35fc0d
tree687dd1e35c883486390cc290c87be8009c5bfb53
parent4569cd561d0df3b5f9221a9517bc4c399ce8a25b
imx: ventana: add 'gsc wd' command for enabling and disabling GSC watchdog

This adds information about the Gateworks System Controller to the gsc command
such as the firmware version, firmware CRC and status of the GSC watchdog
(if its enabled and if its tripped).

Additionally the 'gsc wd' command can be used to enable or disable the
watchdog with the following usage:
 gsc wd enable [30|60]
 gsc wd disable

Note that the GSC registers are battery-backed by the GSC coincell so once
eanbled, they remain enabled across power-cycles or until either the GSC
firmware has been updated or FLASH has been re-programmed by the Gateworks
JTAG adapter.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
board/gateworks/gw_ventana/gsc.c
board/gateworks/gw_ventana/gsc.h
board/gateworks/gw_ventana/gw_ventana.c