Skip to content

Commit

Permalink
lib: add mtimer and mswi support for bm1690 ap and tp
Browse files Browse the repository at this point in the history
mswi and mtimer' address of bm1690 ap and tp is not contiguous,
so make them separately.

Signed-off-by: Xiaoguang Xing <[email protected]>
  • Loading branch information
xingxg2022 committed Sep 13, 2024
1 parent fa4ca5a commit deea2c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/utils/ipi/fdt_ipi_mswi.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ static const struct fdt_match ipi_mswi_match[] = {
{ .compatible = "riscv,clint0", .data = &clint_offset },
{ .compatible = "sifive,clint0", .data = &clint_offset },
{ .compatible = "thead,c900-clint", .data = &clint_offset },
{ .compatible = "thead,c900-clint-mswi", .data = &clint_offset },
{ .compatible = "thead,c900-aclint-mswi" },
{ .compatible = "riscv,aclint-mswi" },
{ },
Expand Down
2 changes: 2 additions & 0 deletions lib/utils/timer/fdt_timer_mtimer.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ static const struct fdt_match timer_mtimer_match[] = {
{ .compatible = "riscv,clint0", .data = &sifive_clint_quirks },
{ .compatible = "sifive,clint0", .data = &sifive_clint_quirks },
{ .compatible = "thead,c900-clint", .data = &thead_clint_quirks },
{ .compatible = "thead,c900-clint-mtimer",
.data = &thead_clint_quirks },
{ .compatible = "thead,c900-aclint-mtimer",
.data = &thead_aclint_quirks },
{ .compatible = "riscv,aclint-mtimer" },
Expand Down

0 comments on commit deea2c3

Please sign in to comment.