]> git.sur5r.net Git - u-boot/blobdiff - lib_blackfin/post.c
i386: Rearrange Interupt Handling
[u-boot] / lib_blackfin / post.c
index 4ab9e8bf034efa40a3539ace5531fa2516886e5d..faf6b96ba2745dd31c2755ed0842293edb943ea6 100644 (file)
@@ -22,7 +22,7 @@
  */
 
 #include <common.h>
-#include <console.h>
+#include <stdio_dev.h>
 #include <watchdog.h>
 #include <post.h>
 
@@ -30,8 +30,6 @@
 #include <logbuff.h>
 #endif
 
-#ifdef CONFIG_POST
-
 DECLARE_GLOBAL_DATA_PTR;
 
 #define POST_MAX_NUMBER                32
@@ -421,5 +419,3 @@ unsigned long post_time_ms(unsigned long base)
 {
        return (unsigned long)get_ticks() / (get_tbclk() / CONFIG_SYS_HZ) - base;
 }
-
-#endif                         /* CONFIG_POST */