Initialize NMI watchdog only once, after enabling paging

This commit is contained in:
Erik van der Kouwe 2011-06-22 17:56:57 +02:00
parent fa0fe45103
commit 35b203fdb1

View file

@ -76,17 +76,6 @@ PUBLIC void bsp_finish_booting(void)
fpu_init();
#ifdef CONFIG_WATCHDOG
if (watchdog_enabled) {
if (arch_watchdog_init()) {
printf("WARNING watchdog initialization failed! Disabled\n");
watchdog_enabled = 0;
}
else
BOOT_VERBOSE(printf("Watchdog enabled\n"););
}
#endif
/* Warnings for sanity checks that take time. These warnings are printed
* so it's a clear warning no full release should be done with them
* enabled.