]> git.sur5r.net Git - u-boot/blobdiff - include/common.h
Add NAND FLASH support for AMCC Bamboo 440EP eval board
[u-boot] / include / common.h
index 697bd7da81c659c3de12091ac8838dad3d8ea9fa..efc638d88c06b28544e131363b7f23a0fa98a384 100644 (file)
@@ -63,6 +63,8 @@ typedef volatile unsigned char        vu_char;
 #endif
 #elif defined(CONFIG_5xx)
 #include <asm/5xx_immap.h>
+#elif defined(CONFIG_MPC5xxx)
+#include <mpc5xxx.h>
 #elif defined(CONFIG_MPC8220)
 #include <asm/immap_8220.h>
 #elif defined(CONFIG_8260)
@@ -81,6 +83,10 @@ typedef volatile unsigned char       vu_char;
 #include <mpc85xx.h>
 #include <asm/immap_85xx.h>
 #endif
+#ifdef CONFIG_MPC83XX
+#include <mpc83xx.h>
+#include <asm/immap_83xx.h>
+#endif
 #ifdef CONFIG_4xx
 #include <ppc4xx.h>
 #endif
@@ -381,16 +387,25 @@ int       checkicache   (void);
 int    checkdcache   (void);
 void   upmconfig     (unsigned int, unsigned int *, unsigned int);
 ulong  get_tbclk     (void);
+void   reset_cpu     (ulong addr);
 
 /* $(CPU)/serial.c */
 int    serial_init   (void);
+void   serial_addr   (unsigned int);
 void   serial_setbrg (void);
 void   serial_putc   (const char);
+void   serial_putc_raw(const char);
 void   serial_puts   (const char *);
-void   serial_addr   (unsigned int);
 int    serial_getc   (void);
 int    serial_tstc   (void);
 
+void   _serial_setbrg (const int);
+void   _serial_putc   (const char, const int);
+void   _serial_putc_raw(const char, const int);
+void   _serial_puts   (const char *, const int);
+int    _serial_getc   (const int);
+int    _serial_tstc   (const int);
+
 /* $(CPU)/speed.c */
 int    get_clocks (void);
 int    get_clocks_866 (void);
@@ -398,8 +413,9 @@ int sdram_adjust_866 (void);
 int    adjust_sdram_tbs_8xx (void);
 #if defined(CONFIG_8260)
 int    prt_8260_clks (void);
-#endif
-#if defined(CONFIG_MPC5xxx)
+#elif defined(CONFIG_MPC83XX)
+int print_clock_conf(void);
+#elif defined(CONFIG_MPC5xxx)
 int    prt_mpc5xxx_clks (void);
 #endif
 #if defined(CONFIG_MPC8220)
@@ -575,4 +591,9 @@ int pcmcia_init (void);
 void   show_boot_progress (int status);
 #endif
 
+#ifdef CONFIG_INIT_CRITICAL
+#error CONFIG_INIT_CRITICAL is depracted!
+#error Read section CONFIG_SKIP_LOWLEVEL_INIT in README.
+#endif
+
 #endif /* __COMMON_H_ */