X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=arch%2Fpowerpc%2Flib%2Fboard.c;h=6eaab882437dda464db83c2943669203a26f2998;hb=03a3536c7b7f2902932606da9248c6f08318174a;hp=50eb820336b0d6ce3404db5952e23ffd4687b2c4;hpb=7cb7272365983e3a1eedf18a9f688c825e1cf95e;p=u-boot diff --git a/arch/powerpc/lib/board.c b/arch/powerpc/lib/board.c index 50eb820336..6eaab88243 100644 --- a/arch/powerpc/lib/board.c +++ b/arch/powerpc/lib/board.c @@ -226,6 +226,9 @@ static int init_func_spi(void) #if defined(CONFIG_WATCHDOG) int init_func_watchdog_init(void) { +#if defined(CONFIG_MPC85xx) + init_85xx_watchdog(); +#endif puts(" Watchdog enabled\n"); WATCHDOG_RESET(); return 0; @@ -363,6 +366,8 @@ void board_init_f(ulong bootflag) memset((void *) gd, 0, sizeof(gd_t)); #endif + gd->flags = bootflag; + for (init_fnc_ptr = init_sequence; *init_fnc_ptr; ++init_fnc_ptr) if ((*init_fnc_ptr) () != 0) hang();