diff options
Diffstat (limited to 'include/configs/TQM8260.h')
-rw-r--r-- | include/configs/TQM8260.h | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/include/configs/TQM8260.h b/include/configs/TQM8260.h index de82e3e..a84f0dd 100644 --- a/include/configs/TQM8260.h +++ b/include/configs/TQM8260.h @@ -30,10 +30,13 @@ /* * 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 */ /* @@ -49,18 +52,6 @@ #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 */ @@ -203,9 +194,9 @@ /* 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 @@ -317,9 +308,9 @@ */ #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) |