1 #ifndef __WSP_H 2 #define __WSP_H 3 4 #include <asm/wsp.h> 5 6 /* Devtree compatible strings for major devices */ 7 #define PCIE_COMPATIBLE "ibm,wsp-pciex" 8 9 extern void wsp_setup_arch(void); 10 extern void wsp_setup_irq(void); 11 extern int wsp_probe_devices(void); 12 extern void wsp_halt(void); 13 14 extern void wsp_setup_pci(void); 15 extern void scom_init_wsp(void); 16 17 extern void a2_setup_smp(void); 18 extern int a2_scom_startup_cpu(unsigned int lcpu, int thr_idx, 19 struct device_node *np); 20 extern int smp_a2_cpu_bootable(unsigned int nr); 21 extern int __devinit smp_a2_kick_cpu(int nr); 22 23 extern void opb_pic_init(void); 24 25 /* chroma specific managment */ 26 extern void wsp_h8_restart(char *cmd); 27 extern void wsp_h8_power_off(void); 28 extern void __init wsp_setup_h8(void); 29 30 #endif /* __WSP_H */ 31