Skip to content

Commit 741bfed

Browse files
gmarullcarlescufi
authored andcommitted
soc: riscv: mpfs: remove unused definition
RISCV_MTIMECMP_BY_HART (machine timer related) is not used, so remove it. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent 418ad7d commit 741bfed

File tree

1 file changed

+0
-2
lines changed
  • soc/riscv/riscv-privilege/mpfs

1 file changed

+0
-2
lines changed

soc/riscv/riscv-privilege/mpfs/soc.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
#include <zephyr/devicetree.h>
1111

1212

13-
/* Timer configuration */
14-
#define RISCV_MTIMECMP_BY_HART(h) (0x02004000ULL + (8ULL * (h)))
1513
#define RISCV_MSIP_BASE 0x02000000
1614

1715
#endif /* __RISCV64_MPFS_SOC_H_ */

0 commit comments

Comments
 (0)