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:
b32fac4
)
platform: andes/ae350: Drop plicsw_get_pending()
author
Bin Meng
<bmeng.cn@gmail.com>
Fri, 4 Jun 2021 15:35:44 +0000
(23:35 +0800)
committer
Anup Patel
<anup@brainfault.org>
Fri, 11 Jun 2021 05:50:18 +0000
(11:20 +0530)
This is not used anywhere. Drop it.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
platform/andes/ae350/plicsw.c
patch
|
blob
|
history
diff --git
a/platform/andes/ae350/plicsw.c
b/platform/andes/ae350/plicsw.c
index
4df7317
..
edbbb11
100644
(file)
--- a/
platform/andes/ae350/plicsw.c
+++ b/
platform/andes/ae350/plicsw.c
@@
-33,12
+33,6
@@
static inline void plicsw_complete(void)
writel(source, plicsw_dev[source_hart].plicsw_claim);
}
-static inline u32 plicsw_get_pending(u32 source_hart, u32 target_hart)
-{
- return readl(plicsw_dev[source_hart].plicsw_pending)
- & (PLICSW_HART_MASK >> target_hart);
-}
-
static inline void plic_sw_pending(u32 target_hart)
{
/*