]> git.kernelconcepts.de Git - karo-tx-uboot.git/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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:42:50 +0000 (14:42 +0200)
commitd2845c7d902c382ca154ffdc46c600c7aafe3348
tree5375e1c1063fc1703cecab0d423a34ac302044ec
parent8c11c3a44dd477ea7e583d3e5c00b4cd1b7b8aa7
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