X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fwatchdog.h;h=b9599143afdb4cb701eb98d3f57d3971d9129f30;hb=b06b1633f5d0c78b7ec2bb1360cfd7837df1d864;hp=9265be9737245d7a1e8468c398aef12d07945bad;hpb=038ccac511214b062c56f22b9413f784b86bcd87;p=u-boot 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);