summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2015-05-08 18:28:41 -0700
committerStefano Babic <sbabic@denx.de>2015-05-15 19:21:26 +0200
commitea7a3c446b9f117a07fe17276eac44f07952bfff (patch)
tree1f3ea2ae707d9f31162779058a6501b2fb23e89a
parentc4b44d76998b9abdca09093d044a39e4c773052f (diff)
downloadu-boot-imx-ea7a3c446b9f117a07fe17276eac44f07952bfff.zip
u-boot-imx-ea7a3c446b9f117a07fe17276eac44f07952bfff.tar.gz
u-boot-imx-ea7a3c446b9f117a07fe17276eac44f07952bfff.tar.bz2
imx: ventana: add GSC boot watchdog disable to SPL
If the SPL is to be used for Falcon mode then we need to make sure the SPL disable the GSC boot watchdog. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
-rw-r--r--board/gateworks/gw_ventana/gw_ventana_spl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/gateworks/gw_ventana/gw_ventana_spl.c b/board/gateworks/gw_ventana/gw_ventana_spl.c
index cde04cf..84d027d 100644
--- a/board/gateworks/gw_ventana/gw_ventana_spl.c
+++ b/board/gateworks/gw_ventana/gw_ventana_spl.c
@@ -527,6 +527,9 @@ void board_init_f(ulong dummy)
/* Clear the BSS. */
memset(__bss_start, 0, __bss_end - __bss_start);
+ /* disable boot watchdog */
+ gsc_boot_wd_disable();
+
/* load/boot image from boot device */
board_init_r(NULL, 0);
}