diff options
Diffstat (limited to 'arch/ppc/platforms/radstone_ppc7d.c')
-rw-r--r-- | arch/ppc/platforms/radstone_ppc7d.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/ppc/platforms/radstone_ppc7d.c b/arch/ppc/platforms/radstone_ppc7d.c index c30607a972d8..06ec30f7e2f4 100644 --- a/arch/ppc/platforms/radstone_ppc7d.c +++ b/arch/ppc/platforms/radstone_ppc7d.c | |||
@@ -1185,18 +1185,18 @@ static void __init ppc7d_setup_arch(void) | |||
1185 | ROOT_DEV = Root_HDA1; | 1185 | ROOT_DEV = Root_HDA1; |
1186 | #endif | 1186 | #endif |
1187 | 1187 | ||
1188 | if ((cur_cpu_spec[0]->cpu_features & CPU_FTR_SPEC7450) || | 1188 | if ((cur_cpu_spec->cpu_features & CPU_FTR_SPEC7450) || |
1189 | (cur_cpu_spec[0]->cpu_features & CPU_FTR_L3CR)) | 1189 | (cur_cpu_spec->cpu_features & CPU_FTR_L3CR)) |
1190 | /* 745x is different. We only want to pass along enable. */ | 1190 | /* 745x is different. We only want to pass along enable. */ |
1191 | _set_L2CR(L2CR_L2E); | 1191 | _set_L2CR(L2CR_L2E); |
1192 | else if (cur_cpu_spec[0]->cpu_features & CPU_FTR_L2CR) | 1192 | else if (cur_cpu_spec->cpu_features & CPU_FTR_L2CR) |
1193 | /* All modules have 1MB of L2. We also assume that an | 1193 | /* All modules have 1MB of L2. We also assume that an |
1194 | * L2 divisor of 3 will work. | 1194 | * L2 divisor of 3 will work. |
1195 | */ | 1195 | */ |
1196 | _set_L2CR(L2CR_L2E | L2CR_L2SIZ_1MB | L2CR_L2CLK_DIV3 | 1196 | _set_L2CR(L2CR_L2E | L2CR_L2SIZ_1MB | L2CR_L2CLK_DIV3 |
1197 | | L2CR_L2RAM_PIPE | L2CR_L2OH_1_0 | L2CR_L2DF); | 1197 | | L2CR_L2RAM_PIPE | L2CR_L2OH_1_0 | L2CR_L2DF); |
1198 | 1198 | ||
1199 | if (cur_cpu_spec[0]->cpu_features & CPU_FTR_L3CR) | 1199 | if (cur_cpu_spec->cpu_features & CPU_FTR_L3CR) |
1200 | /* No L3 cache */ | 1200 | /* No L3 cache */ |
1201 | _set_L3CR(0); | 1201 | _set_L3CR(0); |
1202 | 1202 | ||