summaryrefslogtreecommitdiff
path: root/platform/generic/include
diff options
context:
space:
mode:
authorInochi Amaoto <[email protected]>2023-10-07 11:06:29 +0800
committerAnup Patel <[email protected]>2023-11-14 21:53:45 +0530
commit8e941e7fe3b8244107832b931980006bf9b0dc55 (patch)
tree174bb0093473c4390bf42569e0103357ac2c345e /platform/generic/include
parentc1a69874476810aa47bb1ca8bbe7697f855dba5f (diff)
platform: generic: thead: separate implement of T-HEAD c9xx pmu
Separate the implement of T-HEAD c9xx pmu to allow any platform with c9xx cores can use it. Signed-off-by: Inochi Amaoto <[email protected]> Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'platform/generic/include')
-rw-r--r--platform/generic/include/thead/c9xx_pmu.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/platform/generic/include/thead/c9xx_pmu.h b/platform/generic/include/thead/c9xx_pmu.h
new file mode 100644
index 00000000..bb1d831a
--- /dev/null
+++ b/platform/generic/include/thead/c9xx_pmu.h
@@ -0,0 +1,7 @@
+
+#ifndef __RISCV_THEAD_C9XX_PMU_H____
+#define __RISCV_THEAD_C9XX_PMU_H____
+
+void thead_c9xx_register_pmu_device(void);
+
+#endif // __RISCV_THEAD_C9XX_PMU_H____