Skip to content
Snippets Groups Projects
Commit 7ff66bb0 authored by Heiko Schocher's avatar Heiko Schocher Committed by Wolfgang Denk
Browse files

ppc: trigger WDT before starting Linux


Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
parent 2bcbd429
No related branches found
No related tags found
No related merge requests found
...@@ -94,6 +94,7 @@ static void boot_jump_linux(bootm_headers_t *images) ...@@ -94,6 +94,7 @@ static void boot_jump_linux(bootm_headers_t *images)
#endif #endif
debug (" Booting using OF flat tree...\n"); debug (" Booting using OF flat tree...\n");
WATCHDOG_RESET ();
(*kernel) ((bd_t *)of_flat_tree, 0, 0, EPAPR_MAGIC, (*kernel) ((bd_t *)of_flat_tree, 0, 0, EPAPR_MAGIC,
CONFIG_SYS_BOOTMAPSZ, 0, 0); CONFIG_SYS_BOOTMAPSZ, 0, 0);
/* does not return */ /* does not return */
...@@ -117,6 +118,7 @@ static void boot_jump_linux(bootm_headers_t *images) ...@@ -117,6 +118,7 @@ static void boot_jump_linux(bootm_headers_t *images)
bd_t *kbd = images->kbd; bd_t *kbd = images->kbd;
debug (" Booting using board info...\n"); debug (" Booting using board info...\n");
WATCHDOG_RESET ();
(*kernel) (kbd, initrd_start, initrd_end, (*kernel) (kbd, initrd_start, initrd_end,
cmd_start, cmd_end, 0, 0); cmd_start, cmd_end, 0, 0);
/* does not return */ /* does not return */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment