]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ppc: trigger WDT before starting Linux
authorHeiko Schocher <hs@denx.de>
Wed, 12 Aug 2009 08:17:03 +0000 (10:17 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 18 Aug 2009 19:30:34 +0000 (21:30 +0200)
Signed-off-by: Heiko Schocher <hs@denx.de>
lib_ppc/bootm.c

index 0d702bf25178670c2689006d17083c6fa2452ee3..83857490f3501f023e04b71a52eaf1c15273fe8c 100644 (file)
@@ -94,6 +94,7 @@ static void boot_jump_linux(bootm_headers_t *images)
 #endif
 
                debug ("   Booting using OF flat tree...\n");
+               WATCHDOG_RESET ();
                (*kernel) ((bd_t *)of_flat_tree, 0, 0, EPAPR_MAGIC,
                           CONFIG_SYS_BOOTMAPSZ, 0, 0);
                /* does not return */
@@ -117,6 +118,7 @@ static void boot_jump_linux(bootm_headers_t *images)
                bd_t *kbd = images->kbd;
 
                debug ("   Booting using board info...\n");
+               WATCHDOG_RESET ();
                (*kernel) (kbd, initrd_start, initrd_end,
                           cmd_start, cmd_end, 0, 0);
                /* does not return */