@ -284,7 +284,7 @@ static void __fsl_serdes__init(void)
}
}
__attribute__ ( ( weak , alias ( " __fsl_serdes__init " ) ) ) void fsl_serdes_init ( void ) ;
__attribute__ ( ( weak , alias ( " __fsl_serdes__init " ) ) ) void fsl_serdes_init ( void ) ;
# ifdef CONFIG_SYS_FSL_QORIQ_CHASSIS2
# if defined(CONFIG_SYS_FSL_QORIQ_CHASSIS2) && defined(CONFIG_E6500)
int enable_cluster_l2 ( void )
int enable_cluster_l2 ( void )
{
{
int i = 0 ;
int i = 0 ;
@ -350,7 +350,7 @@ int cpu_init_r(void)
# endif
# endif
# ifdef CONFIG_L2_CACHE
# ifdef CONFIG_L2_CACHE
ccsr_l2cache_t * l2cache = ( void __iomem * ) CONFIG_SYS_MPC85xx_L2_ADDR ;
ccsr_l2cache_t * l2cache = ( void __iomem * ) CONFIG_SYS_MPC85xx_L2_ADDR ;
# elif defined(CONFIG_SYS_FSL_QORIQ_CHASSIS2)
# elif defined(CONFIG_SYS_FSL_QORIQ_CHASSIS2) && defined(CONFIG_E6500)
struct ccsr_cluster_l2 * l2cache = ( void __iomem * ) CONFIG_SYS_FSL_CLUSTER_1_L2 ;
struct ccsr_cluster_l2 * l2cache = ( void __iomem * ) CONFIG_SYS_FSL_CLUSTER_1_L2 ;
# endif
# endif
# if defined(CONFIG_PPC_SPINTABLE_COMPATIBLE) && defined(CONFIG_MP)
# if defined(CONFIG_PPC_SPINTABLE_COMPATIBLE) && defined(CONFIG_MP)
@ -533,7 +533,7 @@ int cpu_init_r(void)
}
}
skip_l2 :
skip_l2 :
# elif defined(CONFIG_SYS_FSL_QORIQ_CHASSIS2)
# elif defined(CONFIG_SYS_FSL_QORIQ_CHASSIS2) && defined(CONFIG_E6500)
if ( l2cache - > l2csr0 & L2CSR0_L2E )
if ( l2cache - > l2csr0 & L2CSR0_L2E )
print_size ( ( l2cache - > l2cfg0 & 0x3fff ) * 64 * 1024 ,
print_size ( ( l2cache - > l2cfg0 & 0x3fff ) * 64 * 1024 ,
" enabled \n " ) ;
" enabled \n " ) ;