17 #include <linux/sched.h>
18 #include <linux/kernel.h>
20 #include <linux/export.h>
27 #include <asm/processor.h>
29 #include <asm/kexec.h>
30 #include <asm/pgtable.h>
34 #include <asm/machdep.h>
36 #include <asm/cputable.h>
47 static void qpace_show_cpuinfo(
struct seq_file *
m)
50 const char *
model =
"";
55 seq_printf(m,
"machine\t\t: CHRP %s\n", model);
59 static void qpace_progress(
char *
s,
unsigned short hex)
61 printk(
"*** %04x : %s\n", hex, s ? s :
"");
66 { .compatible =
"soc", },
67 { .type =
"spider", },
76 static int __init qpace_publish_devices(
void)
81 of_platform_bus_probe(
NULL, qpace_bus_ids,
NULL);
89 platform_device_register_simple(
"cbe-mic", node,
NULL, 0);
96 static void __init qpace_setup_arch(
void)
98 #ifdef CONFIG_SPU_BASE
105 #ifdef CONFIG_CBE_RAS
117 #ifdef CONFIG_DUMMY_CONSOLE
122 static int __init qpace_probe(
void)
124 unsigned long root = of_get_flat_dt_root();
126 if (!of_flat_dt_is_compatible(root,
"IBM,QPACE"))
136 .probe = qpace_probe,
137 .setup_arch = qpace_setup_arch,
138 .show_cpuinfo = qpace_show_cpuinfo,
146 .progress = qpace_progress,