blob: 33479818f62a20981fb617c75bd0b53da4b4c737 [file] [log] [blame]
David Gibsona1d0d982011-04-14 22:32:06 +00001#ifndef __WSP_H
2#define __WSP_H
3
4#include <asm/wsp.h>
5
Benjamin Herrenschmidtf352c722011-08-08 12:30:54 +00006/* Devtree compatible strings for major devices */
7#define PCIE_COMPATIBLE "ibm,wsp-pciex"
8
David Gibsona1d0d982011-04-14 22:32:06 +00009extern void wsp_setup_pci(void);
10extern void scom_init_wsp(void);
11
12extern void a2_setup_smp(void);
13extern int a2_scom_startup_cpu(unsigned int lcpu, int thr_idx,
14 struct device_node *np);
15int smp_a2_cpu_bootable(unsigned int nr);
16int __devinit smp_a2_kick_cpu(int nr);
17
18void opb_pic_init(void);
19
20#endif /* __WSP_H */