ppc: Clean up calling of misc_init_r() during init
[platform/kernel/u-boot.git] / include / common.h
index ee174bb..f7c93bf 100644 (file)
@@ -107,9 +107,6 @@ typedef volatile unsigned char      vu_char;
 #ifdef CONFIG_BLACKFIN
 #include <asm/blackfin.h>
 #endif
-#ifdef CONFIG_STATUS_LED
-#include <status_led.h>
-#endif
 
 #include <part.h>
 #include <flash.h>
@@ -444,6 +441,8 @@ void                ppcDWstore(unsigned int *addr, unsigned int *value);
 #endif
 
 /* $(CPU)/cpu.c */
+int    cpu_numcores  (void);
+int    probecpu      (void);
 int    checkcpu      (void);
 int    checkicache   (void);
 int    checkdcache   (void);
@@ -625,9 +624,7 @@ int vsprintf(char *buf, const char *fmt, va_list args);
 char * strmhz(char *buf, long hz);
 
 /* lib_generic/crc32.c */
-uint32_t crc32 (uint32_t, const unsigned char *, uint);
-uint32_t crc32_wd (uint32_t, const unsigned char *, uint, uint);
-uint32_t crc32_no_comp (uint32_t, const unsigned char *, uint);
+#include <u-boot/crc.h>
 
 /* common/console.c */
 int    console_init_f(void);   /* Before relocation; uses the serial  stuff    */
@@ -684,6 +681,9 @@ int fgetc(int file);
 
 int    pcmcia_init (void);
 
+#ifdef CONFIG_STATUS_LED
+# include <status_led.h>
+#endif
 /*
  * Board-specific Platform code can reimplement show_boot_progress () if needed
  */