diff options
Diffstat (limited to 'arch/powerpc/platforms/85xx/stx_gp3.c')
-rw-r--r-- | arch/powerpc/platforms/85xx/stx_gp3.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/85xx/stx_gp3.c b/arch/powerpc/platforms/85xx/stx_gp3.c index 18499d7c9d9e..0cca8f5cb272 100644 --- a/arch/powerpc/platforms/85xx/stx_gp3.c +++ b/arch/powerpc/platforms/85xx/stx_gp3.c | |||
@@ -130,7 +130,6 @@ static void __init stx_gp3_setup_arch(void) | |||
130 | static void stx_gp3_show_cpuinfo(struct seq_file *m) | 130 | static void stx_gp3_show_cpuinfo(struct seq_file *m) |
131 | { | 131 | { |
132 | uint pvid, svid, phid1; | 132 | uint pvid, svid, phid1; |
133 | uint memsize = total_memory; | ||
134 | 133 | ||
135 | pvid = mfspr(SPRN_PVR); | 134 | pvid = mfspr(SPRN_PVR); |
136 | svid = mfspr(SPRN_SVR); | 135 | svid = mfspr(SPRN_SVR); |
@@ -142,9 +141,6 @@ static void stx_gp3_show_cpuinfo(struct seq_file *m) | |||
142 | /* Display cpu Pll setting */ | 141 | /* Display cpu Pll setting */ |
143 | phid1 = mfspr(SPRN_HID1); | 142 | phid1 = mfspr(SPRN_HID1); |
144 | seq_printf(m, "PLL setting\t: 0x%x\n", ((phid1 >> 24) & 0x3f)); | 143 | seq_printf(m, "PLL setting\t: 0x%x\n", ((phid1 >> 24) & 0x3f)); |
145 | |||
146 | /* Display the amount of memory */ | ||
147 | seq_printf(m, "Memory\t\t: %d MB\n", memsize / (1024 * 1024)); | ||
148 | } | 144 | } |
149 | 145 | ||
150 | static struct of_device_id __initdata of_bus_ids[] = { | 146 | static struct of_device_id __initdata of_bus_ids[] = { |