diff options
author | Christophe Lombard <clombard@linux.vnet.ibm.com> | 2017-06-13 14:21:18 +0200 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-06-19 14:49:29 +1000 |
commit | 20cf0c833bcfd5bc159a891c852f6de9313deffe (patch) | |
tree | ff47d86c7814086dea83ce56a8a086e3189bb2a1 /include | |
parent | 5e55f0b5e0791eae54da39dfeff38f57a3dcbfa4 (diff) | |
download | skiboot-20cf0c833bcfd5bc159a891c852f6de9313deffe.zip skiboot-20cf0c833bcfd5bc159a891c852f6de9313deffe.tar.gz skiboot-20cf0c833bcfd5bc159a891c852f6de9313deffe.tar.bz2 |
capi: Externalize capp timebase synchronization
Externalize the chiptod code. this code will be common for PHB3 and
PHB4.
The reference to the structure PHB3 is remove and new arguments appear
due to specific address registers.
Signed-off-by: Christophe Lombard <clombard@linux.vnet.ibm.com>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Reviewed-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/chiptod.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/chiptod.h b/include/chiptod.h index 64df8bc..fd5cd96 100644 --- a/include/chiptod.h +++ b/include/chiptod.h @@ -32,7 +32,7 @@ extern bool chiptod_wakeup_resync(void); extern int chiptod_recover_tb_errors(void); extern void chiptod_reset_tb(void); extern bool chiptod_adjust_topology(enum chiptod_topology topo, bool enable); -struct phb3; -extern bool chiptod_capp_timebase_sync(struct phb3 *p); +extern bool chiptod_capp_timebase_sync(unsigned int chip_id, uint32_t tfmr_addr, + uint32_t tb_addr, uint32_t offset); #endif /* __CHIPTOD_H */ |