X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fwatchdog.h;h=b9599143afdb4cb701eb98d3f57d3971d9129f30;hb=b06b1633f5d0c78b7ec2bb1360cfd7837df1d864;hp=b9ae916a1d2835b8f5b552726f0dfb057779b109;hpb=8bde7f776c77b343aca29b8c7b58464d915ac245;p=u-boot diff --git a/include/watchdog.h b/include/watchdog.h index b9ae916a1d..b9599143af 100644 --- a/include/watchdog.h +++ b/include/watchdog.h @@ -80,21 +80,14 @@ void reset_5xx_watchdog(volatile immap_t *immr); #endif -/* IBM 4xx */ +/* 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); #endif -/* MPC 8260 */ -#if defined(CONFIG_MPC8260) && !defined(__ASSEMBLY__) -#if defined(CONFIG_WATCHDOG) -extern __inline__ void -reset_8260_watchdog(volatile immap_t *immr) -{ - immr->im_siu_conf.sc_swsr = 0x556c; - immr->im_siu_conf.sc_swsr = 0xaa39; -} -#endif /* !__ASSEMBLY__ && CONFIG_WATCHDOG */ -#endif /* CONFIG_MPC8260 && !__ASSEMBLY__ */ - #endif /* _WATCHDOG_H_ */