summaryrefslogtreecommitdiff
path: root/board/gateworks/gw_ventana/gw_ventana_spl.c
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2015-05-09 01:28:41 (GMT)
committerStefano Babic <sbabic@denx.de>2015-05-15 17:21:26 (GMT)
commitea7a3c446b9f117a07fe17276eac44f07952bfff (patch)
tree1f3ea2ae707d9f31162779058a6501b2fb23e89a /board/gateworks/gw_ventana/gw_ventana_spl.c
parentc4b44d76998b9abdca09093d044a39e4c773052f (diff)
downloadu-boot-ea7a3c446b9f117a07fe17276eac44f07952bfff.tar.xz
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>
Diffstat (limited to 'board/gateworks/gw_ventana/gw_ventana_spl.c')
-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);
}