diff options
author | Zhiqiang Tu <ztu@codeaurora.org> | 2018-06-01 14:34:56 +0800 |
---|---|---|
committer | Zhiqiang Tu <ztu@codeaurora.org> | 2018-06-01 14:34:56 +0800 |
commit | 7c7109f9b9f0cd11e32fd5c22100ae9df8a83ec9 (patch) | |
tree | dbfa48266f8fa58adfbac81c29246c20033875a7 /include | |
parent | c0a42ee0ed459c22d980d9bf706775ab987e378e (diff) |
soc: qcom: boot_marker: add mpm timer interface
Provide a debugfs interface to get count of mpm timer.
Change-Id: I24e927b6219b8bd4c2f4ddecb8f51518f0db663a
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/soc/qcom/boot_stats.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/soc/qcom/boot_stats.h b/include/soc/qcom/boot_stats.h index cebf4be1ebf6..53868adf3696 100644 --- a/include/soc/qcom/boot_stats.h +++ b/include/soc/qcom/boot_stats.h @@ -31,12 +31,14 @@ struct boot_stats { int boot_stats_init(void); int boot_stats_exit(void); unsigned long long int msm_timer_get_sclk_ticks(void); +phys_addr_t msm_timer_get_pa(void); #else static inline int boot_stats_init(void) { return 0; } static inline unsigned long long int msm_timer_get_sclk_ticks(void) { return 0; } +static inline phys_addr_t msm_timer_get_pa(void) { return 0; } #endif #ifdef CONFIG_MSM_BOOT_TIME_MARKER |