aboutsummaryrefslogtreecommitdiff
path: root/include/sbe-p8.h
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2021-12-20 22:22:47 +1000
committerCédric Le Goater <clg@kaod.org>2022-01-03 16:12:45 +0100
commit0475a94b2faa9685eb8f4314e9a0d0e42771ea57 (patch)
tree5eb5beabf235911ed4c0d2856ac5ccd24428dc55 /include/sbe-p8.h
parenta6816a42c1f40481c998177b2b88329984ed25b2 (diff)
downloadskiboot-0475a94b2faa9685eb8f4314e9a0d0e42771ea57.zip
skiboot-0475a94b2faa9685eb8f4314e9a0d0e42771ea57.tar.gz
skiboot-0475a94b2faa9685eb8f4314e9a0d0e42771ea57.tar.bz2
SBE: create processor-independent timer APIs
Rather than have code call processor-specific SBE routines depending on version, hide those details in SBE APIs. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> [ clg: Fixed run-timer test ] Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'include/sbe-p8.h')
-rw-r--r--include/sbe-p8.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/sbe-p8.h b/include/sbe-p8.h
index 66f7025..d6f0d31 100644
--- a/include/sbe-p8.h
+++ b/include/sbe-p8.h
@@ -4,12 +4,11 @@
#ifndef __SBE_P8_H
#define __SBE_P8_H
+#include <stdint.h>
+
/* P8 SBE update timer function */
extern void p8_sbe_update_timer_expiry(uint64_t new_target);
-/* Is SBE timer available ? */
-extern bool p8_sbe_timer_ok(void);
-
/* Initialize SBE timer */
extern void p8_sbe_init_timer(void);