X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=post%2Fcpu%2Fmpc8xx%2Fwatchdog.c;h=da191c232c276a6abca7a3a84112c218bddda749;hb=54e399f110bbaa24e662e6dd9e88ddb86989d668;hp=48c4282e1dc536d5936687d7ad0329048498041c;hpb=fc1e45ce6e45d5d88a42f4245b2d7ee134270029;p=u-boot diff --git a/post/cpu/mpc8xx/watchdog.c b/post/cpu/mpc8xx/watchdog.c index 48c4282e1d..da191c232c 100644 --- a/post/cpu/mpc8xx/watchdog.c +++ b/post/cpu/mpc8xx/watchdog.c @@ -33,12 +33,10 @@ * reboots, on the second iteration the test routine reports a success. */ -#ifdef CONFIG_POST - #include #include -#if CONFIG_POST & CFG_POST_WATCHDOG +#if CONFIG_POST & CONFIG_SYS_POST_WATCHDOG static ulong gettbl (void) { @@ -74,5 +72,4 @@ int watchdog_post_test (int flags) } } -#endif /* CONFIG_POST & CFG_POST_WATCHDOG */ -#endif /* CONFIG_POST */ +#endif /* CONFIG_POST & CONFIG_SYS_POST_WATCHDOG */