]> git.sur5r.net Git - u-boot/commitdiff
imx: ventana: add GSC boot watchdog disable to SPL
authorTim Harvey <tharvey@gateworks.com>
Sat, 9 May 2015 01:28:41 +0000 (18:28 -0700)
committerStefano Babic <sbabic@denx.de>
Fri, 15 May 2015 17:21:26 +0000 (19:21 +0200)
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>
board/gateworks/gw_ventana/gw_ventana_spl.c

index cde04cfacc22a2ac4e3cb5b888c00e735636bbf0..84d027d441a30bbd5d665e065aa96f0154b4a8b4 100644 (file)
@@ -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);
 }