diff options
author | Heiko Schocher <hs@denx.de> | 2009-08-12 10:17:03 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-08-18 21:30:34 +0200 |
commit | 7ff66bb0be80cadd681be22a72e5eb02ee14c878 (patch) | |
tree | d52fb950684a6e8dde0e46906f0fa827c1a200e9 /lib_ppc | |
parent | 2bcbd429f44e32ead38a33f372e4c027e66710f9 (diff) | |
download | bootable_bootloader_goldelico_gta04-7ff66bb0be80cadd681be22a72e5eb02ee14c878.zip bootable_bootloader_goldelico_gta04-7ff66bb0be80cadd681be22a72e5eb02ee14c878.tar.gz bootable_bootloader_goldelico_gta04-7ff66bb0be80cadd681be22a72e5eb02ee14c878.tar.bz2 |
ppc: trigger WDT before starting Linux
Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'lib_ppc')
-rw-r--r-- | lib_ppc/bootm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib_ppc/bootm.c b/lib_ppc/bootm.c index 0d702bf..8385749 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 */ |