Merge with git://www.denx.de/git/u-boot.git
[oweals/u-boot.git] / post / cpu / ppc4xx / watchdog.c
index 3c76cfd3484b0eb0a25e4b3ec764cc7a33f99840..bd4f4c9856b2bf1c43d54e4942dacf44687da400 100644 (file)
@@ -2,6 +2,8 @@
  * (C) Copyright 2007
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
+ * Author: Igor Lisitsin <igor@emcraft.com>
+ *
  * See file CREDITS for list of people who contributed to this
  * project.
  *
 #ifdef CONFIG_POST
 
 #include <post.h>
-#include <watchdog.h>
 
 #if CONFIG_POST & CFG_POST_WATCHDOG
 
+#include <watchdog.h>
+
 int watchdog_post_test (int flags)
 {
        if (flags & POST_REBOOT) {
                /* Test passed */
-
                return 0;
-       } else {
+       }
+       else {
                /* 10-second delay */
                int ints = disable_interrupts ();
                ulong base = post_time_ms (0);