blob: a563a8aaf8122381682b419b1306f1a7f64db692 [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
Jimi Xenidiscc35b672011-09-30 04:26:13 +00009extern void wsp_setup_arch(void);
10extern void wsp_setup_irq(void);
11extern int wsp_probe_devices(void);
12extern void wsp_halt(void);
13
David Gibsona1d0d982011-04-14 22:32:06 +000014extern void wsp_setup_pci(void);
15extern void scom_init_wsp(void);
16
17extern void a2_setup_smp(void);
18extern int a2_scom_startup_cpu(unsigned int lcpu, int thr_idx,
19 struct device_node *np);
Greg Kroah-Hartmancad5cef2012-12-21 14:04:10 -080020extern int smp_a2_kick_cpu(int nr);
David Gibsona1d0d982011-04-14 22:32:06 +000021
Jimi Xenidiscc35b672011-09-30 04:26:13 +000022extern void opb_pic_init(void);
23
24/* chroma specific managment */
25extern void wsp_h8_restart(char *cmd);
26extern void wsp_h8_power_off(void);
27extern void __init wsp_setup_h8(void);
David Gibsona1d0d982011-04-14 22:32:06 +000028
29#endif /* __WSP_H */