X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fwatchdog.h;h=ac6ba8c09147365b666a2684e5bbba851946367e;hb=82f4c6ac84b3fe81359f863a476196def9fb35ab;hp=7180259d05445db5e08a77493194b7c4778226d0;hpb=ca75added10524a1f8e439e904ba72cb74c917a4;p=u-boot diff --git a/include/watchdog.h b/include/watchdog.h index 7180259d05..ac6ba8c091 100644 --- a/include/watchdog.h +++ b/include/watchdog.h @@ -31,6 +31,10 @@ # 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 */