aboutsummaryrefslogtreecommitdiff
path: root/include/skiboot.h
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2021-12-20 22:22:49 +1000
committerCédric Le Goater <clg@kaod.org>2022-01-03 16:12:45 +0100
commit65d9909a7556eb94cb4ef07f636a37c326ebaade (patch)
tree20cc42f88ae067a60ce1057d531e6be429fd7f7f /include/skiboot.h
parent402b822a7074053d59c8c49ffb5e58b2d5028f54 (diff)
downloadskiboot-65d9909a7556eb94cb4ef07f636a37c326ebaade.zip
skiboot-65d9909a7556eb94cb4ef07f636a37c326ebaade.tar.gz
skiboot-65d9909a7556eb94cb4ef07f636a37c326ebaade.tar.bz2
hw/slw: split P8 specific code into its own file
POWER8 support is large and significantly different than P9/10 code. This change prepares to make P8 support configurable. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> [ clg: Removed commented headers in slw.c ] Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'include/skiboot.h')
-rw-r--r--include/skiboot.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/skiboot.h b/include/skiboot.h
index e2a1b5f..db08f45 100644
--- a/include/skiboot.h
+++ b/include/skiboot.h
@@ -216,7 +216,6 @@ extern void uart_init(void);
extern void mbox_init(void);
extern void early_uart_init(void);
extern void homer_init(void);
-extern void slw_init(void);
extern void add_cpu_idle_state_properties(void);
extern void lpc_rtc_init(void);
@@ -303,19 +302,8 @@ extern int prd_hbrt_fsp_msg_notify(void *data, u32 dsize);
/* Flatten device-tree */
extern void *create_dtb(const struct dt_node *root, bool exclusive);
-/* Track failure in Wakup engine */
-enum wakeup_engine_states {
- WAKEUP_ENGINE_NOT_PRESENT,
- WAKEUP_ENGINE_PRESENT,
- WAKEUP_ENGINE_FAILED
-};
-extern enum wakeup_engine_states wakeup_engine_state;
-extern bool has_deep_states;
extern void nx_p9_rng_late_init(void);
-/* Patch SPR in SLW image */
-extern int64_t opal_slw_set_reg(uint64_t cpu_pir, uint64_t sprn, uint64_t val);
-
extern void fast_sleep_exit(void);
/* Fallback fake RTC */