X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fwatchdog.h;h=b9599143afdb4cb701eb98d3f57d3971d9129f30;hb=877012df309329a9264e6e9558d4f71bfa0cddbe;hp=9265be9737245d7a1e8468c398aef12d07945bad;hpb=0c8721a466b5e0eca7e7fbe1007777fa82100541;p=oweals%2Fu-boot.git diff --git a/include/watchdog.h b/include/watchdog.h index 9265be9737..b9599143af 100644 --- a/include/watchdog.h +++ b/include/watchdog.h @@ -31,10 +31,6 @@ # error "Configuration error: CONFIG_HW_WATCHDOG and CONFIG_WATCHDOG can't be used together." #endif -#if defined(__ASSEMBLY__) && defined(__NIOS__) -# error "Configuration error: WATCHDOG_RESET inside assembler not supported for Nios platforms." -#endif - /* * Hardware watchdog */ @@ -84,6 +80,11 @@ void reset_5xx_watchdog(volatile immap_t *immr); #endif +/* MPC 5xxx */ +#if defined(CONFIG_MPC5xxx) && !defined(__ASSEMBLY__) + void reset_5xxx_watchdog(void); +#endif + /* AMCC 4xx */ #if defined(CONFIG_4xx) && !defined(__ASSEMBLY__) void reset_4xx_watchdog(void);