mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-09 21:32:54 +01:00
ppc: trigger WDT before starting Linux
Signed-off-by: Heiko Schocher <hs@denx.de>
This commit is contained in:
parent
2bcbd429f4
commit
7ff66bb0be
1 changed files with 2 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue