diff options
Diffstat (limited to 'arch/powerpc/platforms/85xx/sbc8560.c')
-rw-r--r-- | arch/powerpc/platforms/85xx/sbc8560.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/85xx/sbc8560.c b/arch/powerpc/platforms/85xx/sbc8560.c index 0c9a856f66b6..472f254a19d2 100644 --- a/arch/powerpc/platforms/85xx/sbc8560.c +++ b/arch/powerpc/platforms/85xx/sbc8560.c | |||
@@ -194,7 +194,6 @@ static void __init sbc8560_setup_arch(void) | |||
194 | static void sbc8560_show_cpuinfo(struct seq_file *m) | 194 | static void sbc8560_show_cpuinfo(struct seq_file *m) |
195 | { | 195 | { |
196 | uint pvid, svid, phid1; | 196 | uint pvid, svid, phid1; |
197 | uint memsize = total_memory; | ||
198 | 197 | ||
199 | pvid = mfspr(SPRN_PVR); | 198 | pvid = mfspr(SPRN_PVR); |
200 | svid = mfspr(SPRN_SVR); | 199 | svid = mfspr(SPRN_SVR); |
@@ -206,9 +205,6 @@ static void sbc8560_show_cpuinfo(struct seq_file *m) | |||
206 | /* Display cpu Pll setting */ | 205 | /* Display cpu Pll setting */ |
207 | phid1 = mfspr(SPRN_HID1); | 206 | phid1 = mfspr(SPRN_HID1); |
208 | seq_printf(m, "PLL setting\t: 0x%x\n", ((phid1 >> 24) & 0x3f)); | 207 | seq_printf(m, "PLL setting\t: 0x%x\n", ((phid1 >> 24) & 0x3f)); |
209 | |||
210 | /* Display the amount of memory */ | ||
211 | seq_printf(m, "Memory\t\t: %d MB\n", memsize / (1024 * 1024)); | ||
212 | } | 208 | } |
213 | 209 | ||
214 | static struct of_device_id __initdata of_bus_ids[] = { | 210 | static struct of_device_id __initdata of_bus_ids[] = { |