diff options
author | Philippe Bergheaud <felix@linux.vnet.ibm.com> | 2016-04-01 14:27:59 +0200 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-04-27 15:06:11 +1000 |
commit | 556bb7701f9ebed12f9b780108adb66299338652 (patch) | |
tree | fe5a6afa5d6a7c8cc13a82157673bf00c82d8cd7 /include/chiptod.h | |
parent | f22a7d4a69cf50fa07002930e94af8a999939a12 (diff) | |
download | skiboot-556bb7701f9ebed12f9b780108adb66299338652.zip skiboot-556bb7701f9ebed12f9b780108adb66299338652.tar.gz skiboot-556bb7701f9ebed12f9b780108adb66299338652.tar.bz2 |
chiptod: Sync timebase in both CAPP units on Naples
Naples has two capp units. In chiptod_capp_timebase_sync, call
PHB3_CAPP_REG_OFFSET(p) to get the xscom register address offset,
an operate on the right capp unit.
Signed-off-by: Philippe Bergheaud <felix@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/chiptod.h')
-rw-r--r-- | include/chiptod.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/chiptod.h b/include/chiptod.h index daf37b1..64df8bc 100644 --- a/include/chiptod.h +++ b/include/chiptod.h @@ -32,6 +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); -extern bool chiptod_capp_timebase_sync(uint32_t chip_id); +struct phb3; +extern bool chiptod_capp_timebase_sync(struct phb3 *p); #endif /* __CHIPTOD_H */ |