summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInochi Amaoto <[email protected]>2023-11-16 17:07:15 +0800
committerAnup Patel <[email protected]>2023-11-16 16:55:28 +0530
commit98bc25f181a3dbdda1c630a4473f5a5a50ac7d58 (patch)
tree54e3ce391b7dcbc75631fcaa1d6517306ad1c249
parentaccafb13d47ca1511364def6cd8840ef1f947e50 (diff)
lib: utils/ipi: mswi: add separate T-Head C9xx CLINT mswi compatible
Like the mtimer of T-HEAD C9xx clint, the mswi also needs new compatible string to avoid misuse. Signed-off-by: Inochi Amaoto <[email protected]> Link: https://lore.kernel.org/linux-riscv/1f6b82a1864477a51db33d3f295889ff985b497b.1696433229.git.unicorn_wang@outlook.com/ Reviewed-by: Guo Ren <[email protected]> Reviewed-by: Anup Patel <[email protected]>
-rw-r--r--lib/utils/ipi/fdt_ipi_mswi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/utils/ipi/fdt_ipi_mswi.c b/lib/utils/ipi/fdt_ipi_mswi.c
index e3a63782..5432db6e 100644
--- a/lib/utils/ipi/fdt_ipi_mswi.c
+++ b/lib/utils/ipi/fdt_ipi_mswi.c
@@ -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-aclint-mswi" },
{ .compatible = "riscv,aclint-mswi" },
{ },
};