projects
/
platform
/
kernel
/
opensbi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
accafb1
)
lib: utils/ipi: mswi: add separate T-Head C9xx CLINT mswi compatible
author
Inochi Amaoto
<inochiama@outlook.com>
Thu, 16 Nov 2023 09:07:15 +0000
(17:07 +0800)
committer
Anup Patel
<anup@brainfault.org>
Thu, 16 Nov 2023 11:25:28 +0000
(16:55 +0530)
Like the mtimer of T-HEAD C9xx clint, the mswi also needs new compatible
string to avoid misuse.
Signed-off-by: Inochi Amaoto <inochiama@outlook.com>
Link:
https://lore.kernel.org/linux-riscv/1f6b82a1864477a51db33d3f295889ff985b497b.1696433229.git.unicorn_wang@outlook.com/
Reviewed-by: Guo Ren <guoren@kernel.org>
Reviewed-by: Anup Patel <anup@brainfault.org>
lib/utils/ipi/fdt_ipi_mswi.c
patch
|
blob
|
history
diff --git
a/lib/utils/ipi/fdt_ipi_mswi.c
b/lib/utils/ipi/fdt_ipi_mswi.c
index e3a637824658f1a6e8453d840cc3082b18c28270..5432db6ef9275957afcdc47f7ab847944e0c1285 100644
(file)
--- 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" },
{ },
};