summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAnup Patel <[email protected]>2022-04-28 17:50:59 +0530
committerAnup Patel <[email protected]>2022-05-07 10:02:28 +0530
commit5a6be99cc53b80ff1691e127d6dfbdd7ec4e9e45 (patch)
tree865fc4e58ebfd9ac58e9d5cf6661aeb664721dea /lib
parent1a754bb36522247e51fdb95323c5fa3e256db872 (diff)
lib: sbi: Remove 's' and 'u' from misa_string() output
Both 's' and 'u' are not treated as ISA extensions since these are privilege modes so let's remove it from misa_string() output. Signed-off-by: Anup Patel <[email protected]> Reviewed-by: Atish Patra <[email protected]>
Diffstat (limited to 'lib')
-rw-r--r--lib/sbi/riscv_asm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sbi/riscv_asm.c b/lib/sbi/riscv_asm.c
index ddc4c139..a09cf78e 100644
--- a/lib/sbi/riscv_asm.c
+++ b/lib/sbi/riscv_asm.c
@@ -53,7 +53,7 @@ int misa_xlen(void)
void misa_string(int xlen, char *out, unsigned int out_sz)
{
unsigned int i, pos = 0;
- const char valid_isa_order[] = "iemafdqclbjtpvnsuhkorwxyzg";
+ const char valid_isa_order[] = "iemafdqclbjtpvnhkorwxyzg";
if (!out)
return;