David Gibson | a1d0d98 | 2011-04-14 22:32:06 +0000 | [diff] [blame] | 1 | #ifndef __WSP_H |
| 2 | #define __WSP_H |
| 3 | |
| 4 | #include <asm/wsp.h> |
| 5 | |
Benjamin Herrenschmidt | f352c72 | 2011-08-08 12:30:54 +0000 | [diff] [blame] | 6 | /* Devtree compatible strings for major devices */ |
| 7 | #define PCIE_COMPATIBLE "ibm,wsp-pciex" |
| 8 | |
Jimi Xenidis | cc35b67 | 2011-09-30 04:26:13 +0000 | [diff] [blame] | 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 | |
David Gibson | a1d0d98 | 2011-04-14 22:32:06 +0000 | [diff] [blame] | 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); |
Greg Kroah-Hartman | cad5cef | 2012-12-21 14:04:10 -0800 | [diff] [blame] | 20 | extern int smp_a2_kick_cpu(int nr); |
David Gibson | a1d0d98 | 2011-04-14 22:32:06 +0000 | [diff] [blame] | 21 | |
Jimi Xenidis | cc35b67 | 2011-09-30 04:26:13 +0000 | [diff] [blame] | 22 | extern void opb_pic_init(void); |
| 23 | |
| 24 | /* chroma specific managment */ |
| 25 | extern void wsp_h8_restart(char *cmd); |
| 26 | extern void wsp_h8_power_off(void); |
| 27 | extern void __init wsp_setup_h8(void); |
David Gibson | a1d0d98 | 2011-04-14 22:32:06 +0000 | [diff] [blame] | 28 | |
| 29 | #endif /* __WSP_H */ |