瀏覽代碼

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>
Tim Harvey 10 年之前
父節點
當前提交
ea7a3c446b
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      board/gateworks/gw_ventana/gw_ventana_spl.c

+ 3 - 0
board/gateworks/gw_ventana/gw_ventana_spl.c

@@ -527,6 +527,9 @@ void board_init_f(ulong dummy)
 	/* Clear the BSS. */
 	/* Clear the BSS. */
 	memset(__bss_start, 0, __bss_end - __bss_start);
 	memset(__bss_start, 0, __bss_end - __bss_start);
 
 
+	/* disable boot watchdog */
+	gsc_boot_wd_disable();
+
 	/* load/boot image from boot device */
 	/* load/boot image from boot device */
 	board_init_r(NULL, 0);
 	board_init_r(NULL, 0);
 }
 }