projects
/
platform
/
kernel
/
opensbi-spacemit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fde28fa
)
lib: sbi: Remove stray '\' character
author
Atish Patra
<atish.patra@wdc.com>
Sat, 10 Jul 2021 16:18:04 +0000
(09:18 -0700)
committer
Anup Patel
<anup@brainfault.org>
Sun, 11 Jul 2021 04:42:06 +0000
(10:12 +0530)
Reviewed-by: Xiang W <wxjstz@126.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Atish Patra <atish.patra@wdc.com>
lib/sbi/sbi_hart.c
patch
|
blob
|
history
diff --git
a/lib/sbi/sbi_hart.c
b/lib/sbi/sbi_hart.c
index
0bd1db1
..
9c01cf7
100644
(file)
--- a/
lib/sbi/sbi_hart.c
+++ b/
lib/sbi/sbi_hart.c
@@
-320,7
+320,7
@@
static unsigned long hart_pmp_get_allowed_addr(void)
unsigned long val = 0;
struct sbi_trap_info trap = {0};
- csr_write_allowed(CSR_PMPADDR0, (ulong)&trap, PMP_ADDR_MASK);
\
+ csr_write_allowed(CSR_PMPADDR0, (ulong)&trap, PMP_ADDR_MASK);
if (!trap.cause) {
val = csr_read_allowed(CSR_PMPADDR0, (ulong)&trap);
if (trap.cause)