diff options
author | Boschung, Rainer <Rainer.Boschung@keymile.com> | 2014-06-03 09:05:17 +0200 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2014-08-01 14:18:40 -0700 |
commit | 807d93d6de5f54cfdcc98bb6c392b2b1f4237dc8 (patch) | |
tree | ec5aaf23ced4ca4b7239f61cab488ef0d9d36759 /board/keymile/kmp204x/kmp204x.h | |
parent | 88ac6ffabbe741b67ea94e33894fb1fdca57e776 (diff) | |
download | u-boot-imx-807d93d6de5f54cfdcc98bb6c392b2b1f4237dc8.zip u-boot-imx-807d93d6de5f54cfdcc98bb6c392b2b1f4237dc8.tar.gz u-boot-imx-807d93d6de5f54cfdcc98bb6c392b2b1f4237dc8.tar.bz2 |
kmp204x/qrio: prepare support for the CPU watchdog reset reason
To achieve this, the qrio_cpuwd_flag() function that sets the CPU watchdog
flag in the REASON1 reg is added.
Signed-off-by: Rainer Boschung <rainer.boschung@keymile.com>
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'board/keymile/kmp204x/kmp204x.h')
-rw-r--r-- | board/keymile/kmp204x/kmp204x.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/keymile/kmp204x/kmp204x.h b/board/keymile/kmp204x/kmp204x.h index afede99..64c0afb 100644 --- a/board/keymile/kmp204x/kmp204x.h +++ b/board/keymile/kmp204x/kmp204x.h @@ -24,5 +24,7 @@ void qrio_wdmask(u8 bit, bool wden); void qrio_prstcfg(u8 bit, u8 mode); void qrio_set_leds(void); void qrio_enable_app_buffer(void); +void qrio_cpuwd_flag(bool flag); +int qrio_reset_reason(void); void pci_of_setup(void *blob, bd_t *bd); |