aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/platforms/52xx/lite5200.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/powerpc/platforms/52xx/lite5200.c b/arch/powerpc/platforms/52xx/lite5200.c
index e11d27f9c4f0..08b9f210490f 100644
--- a/arch/powerpc/platforms/52xx/lite5200.c
+++ b/arch/powerpc/platforms/52xx/lite5200.c
@@ -150,20 +150,6 @@ static void __init lite5200_setup_arch(void)
150 150
151} 151}
152 152
153static void lite5200_show_cpuinfo(struct seq_file *m)
154{
155 struct device_node* np = of_find_all_nodes(NULL);
156 const char *model = NULL;
157
158 if (np)
159 model = of_get_property(np, "model", NULL);
160
161 seq_printf(m, "vendor\t\t: Freescale Semiconductor\n");
162 seq_printf(m, "machine\t\t: %s\n", model ? model : "unknown");
163
164 of_node_put(np);
165}
166
167/* 153/*
168 * Called very early, MMU is off, device-tree isn't unflattened 154 * Called very early, MMU is off, device-tree isn't unflattened
169 */ 155 */
@@ -187,6 +173,5 @@ define_machine(lite5200) {
187 .init = mpc52xx_declare_of_platform_devices, 173 .init = mpc52xx_declare_of_platform_devices,
188 .init_IRQ = mpc52xx_init_irq, 174 .init_IRQ = mpc52xx_init_irq,
189 .get_irq = mpc52xx_get_irq, 175 .get_irq = mpc52xx_get_irq,
190 .show_cpuinfo = lite5200_show_cpuinfo,
191 .calibrate_decr = generic_calibrate_decr, 176 .calibrate_decr = generic_calibrate_decr,
192}; 177};