aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2019-06-18 17:29:12 +1000
committerStewart Smith <stewart@linux.ibm.com>2019-06-24 15:59:07 +1000
commit30ea4db09c7cfde3ce12983f6a38bdf9b616287d (patch)
treebb3ae50f188a27ae5b4bab99d021705aca169d4f /include
parent1b07618e8a2d71308cf34950b98b70db02e64dea (diff)
downloadskiboot-30ea4db09c7cfde3ce12983f6a38bdf9b616287d.zip
skiboot-30ea4db09c7cfde3ce12983f6a38bdf9b616287d.tar.gz
skiboot-30ea4db09c7cfde3ce12983f6a38bdf9b616287d.tar.bz2
Move core/hostservices.c to platforms/ibm-fsp/
It's only used on FSP systems so should really just be part of that platform support. Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/hostservices.h2
-rw-r--r--include/occ.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/hostservices.h b/include/hostservices.h
index bdff9da..ebd1a58 100644
--- a/include/hostservices.h
+++ b/include/hostservices.h
@@ -36,8 +36,6 @@ void host_services_occ_base_setup(void);
#define HOMER_IMAGE_SIZE 0x400000 /* 4MB per-chip */
#define OCC_COMMON_SIZE 0x800000 /* 8MB */
-int find_master_and_slave_occ(uint64_t **master, uint64_t **slave,
- int *nr_masters, int *nr_slaves);
int hservice_send_error_log(uint32_t plid, uint32_t dsize, void *data);
int hservice_wakeup(uint32_t i_core, uint32_t i_mode);
int fsp_occ_reset_status(u64 chipid, s64 status);
diff --git a/include/occ.h b/include/occ.h
index 6b831e0..7ba6be8 100644
--- a/include/occ.h
+++ b/include/occ.h
@@ -20,6 +20,8 @@
extern void occ_pstates_init(void);
extern void occ_fsp_init(void);
+int find_master_and_slave_occ(uint64_t **master, uint64_t **slave,
+ int *nr_masters, int *nr_slaves);
/* OCC interrupt for P8 */
extern void occ_p8_interrupt(uint32_t chip_id);