]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/common.h
Add support for TQM862L modules
[karo-tx-uboot.git] / include / common.h
index bce0132afc77fb97db217f3ace1fd39450a0ee25..509675410e59bf0e7a23487c521d9ed93b62050c 100644 (file)
@@ -43,6 +43,8 @@ typedef volatile unsigned char        vu_char;
 #endif
 #ifdef CONFIG_8xx
 #include <asm/8xx_immap.h>
+#elif defined(CONFIG_5xx)
+#include <asm/5xx_immap.h>
 #elif defined(CONFIG_8260)
 #include <asm/immap_8260.h>
 #endif
@@ -73,7 +75,8 @@ typedef       void (interrupt_handler_t)(void *);
 
 /* enable common handling for all TQM8xxL boards */
 #if defined(CONFIG_TQM823L) || defined(CONFIG_TQM850L) || \
-    defined(CONFIG_TQM855L) || defined(CONFIG_TQM860L)
+    defined(CONFIG_TQM855L) || defined(CONFIG_TQM860L) || \
+    defined(CONFIG_TQM862L)
 # ifndef CONFIG_TQM8xxL
 #  define CONFIG_TQM8xxL
 # endif
@@ -149,7 +152,7 @@ void    setenv       (char *, char *);
 # include <asm/u-boot-arm.h>   /* ARM version to be fixed! */
 #endif /* CONFIG_ARM */
 #ifdef CONFIG_I386             /* x86 version to be fixed! */
-# include <asm/ppcboot-i386.h>  
+# include <asm/u-boot-i386.h>  
 #endif /* CONFIG_I386 */
 
 void    pci_init      (void);
@@ -241,7 +244,8 @@ int testdram(void);
 #endif /* CFG_DRAM_TEST */
 
 /* $(CPU)/start.S */
-#ifdef CONFIG_8xx
+#if defined(CONFIG_5xx)        || \
+    defined(CONFIG_8xx)
 uint   get_immr      (uint);
 #endif
 uint   get_pvr       (void);
@@ -370,6 +374,7 @@ ulong       video_setmem (ulong);
 /* ppc/cache.c */
 void   flush_cache   (unsigned long, unsigned long);
 
+
 /* ppc/ticks.S */
 unsigned long long get_ticks(void);
 void   wait_ticks    (unsigned long);