]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/configs/TQM8260.h
* Implement new mechanism to export U-Boot's functions to standalone
[karo-tx-uboot.git] / include / configs / TQM8260.h
index de82e3e48d7b2786650027fa2adbbdb93f970591..a84f0dd358281915b3e98a8ca230c89eabc3da91 100644 (file)
 
 /*
  * Imported from global configuration:
- *     CONFIG_L2_CACHE
+ *     CONFIG_MPC8255
+ *     CONFIG_MPC8265
+ *     CONFIG_200MHz
  *     CONFIG_266MHz
  *     CONFIG_300MHz
- *     CONFIG_MPC8255
+ *     CONFIG_L2_CACHE
+ *     CONFIG_BUSMODE_60x
  */
 
 /*
 #define CONFIG_TQM8260         200     /* ...on a TQM8260 module Rev.200       */
 #endif
 
-/* Define 60x busmode only if your TQM8260 has L2 cache! */
-#ifdef CONFIG_L2_CACHE
-#  define CONFIG_BUSMODE_60x   1       /* bus mode: 60x                        */
-#else
-#  undef  CONFIG_BUSMODE_60x           /* bus mode: 8260                       */
-#endif
-
-/* The board with 300MHz CPU doesn't have L2 cache, but works in 60x bus mode */
-#ifdef CONFIG_300MHz
-#  define CONFIG_BUSMODE_60x
-#endif
-
 #define CONFIG_82xx_CONS_SMC1  1       /* console on SMC1                      */
 
 #define CONFIG_BOOTDELAY       5       /* autoboot after 5 seconds     */
 
 
 /* system clock rate (CLKIN) - equal to the 60x and local bus speed */
-#ifdef CONFIG_MPC8255
+#if defined(CONFIG_MPC8255) || defined(CONFIG_MPC8265)
 #  define CONFIG_8260_CLKIN    66666666        /* in Hz */
-#else  /* !CONFIG_MPC8255 */
+#else  /* !CONFIG_MPC8255 && !CONFIG_MPC8265 */
 # ifndef CONFIG_300MHz
 #  define CONFIG_8260_CLKIN    66666666        /* in Hz */
 # else
  */
 #define        __HRCW__ALL__           (HRCW_CIP | HRCW_ISB111 | HRCW_BMS)
 
-#ifdef CONFIG_MPC8255
+#if defined(CONFIG_MPC8255) || defined(CONFIG_MPC8265)
 #  define CFG_HRCW_MASTER      (__HRCW__ALL__ | HRCW_MODCK_H0111)
-#else  /* ! MPC8255 */
+#else  /* ! MPC8255 && !MPC8265 */
 # if defined(CONFIG_266MHz)
 #  define CFG_HRCW_MASTER      (__HRCW__ALL__ | HRCW_MODCK_H0111)
 # elif defined(CONFIG_300MHz)