From: Heiko Schocher Date: Wed, 12 Aug 2009 08:17:03 +0000 (+0200) Subject: ppc: trigger WDT before starting Linux X-Git-Tag: v2009.08-rc3~12 X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=7ff66bb0be80cadd681be22a72e5eb02ee14c878 ppc: trigger WDT before starting Linux Signed-off-by: Heiko Schocher --- diff --git a/lib_ppc/bootm.c b/lib_ppc/bootm.c index 0d702bf251..83857490f3 100644 --- a/lib_ppc/bootm.c +++ b/lib_ppc/bootm.c @@ -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 */