summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYu Chien Peter Lin <[email protected]>2023-11-30 20:42:01 +0800
committerAnup Patel <[email protected]>2023-12-06 17:27:22 +0530
commit090fa99d7cf519a8b7d2685ae9f84a2fbe46b083 (patch)
treed5f126141bb50025dc1fee01a50c3b26d25909b5 /lib
parent291403f6f29dd119d94ac99303c94dadcb5496c3 (diff)
lib: sbi: Add XAndesPMU in hart extensions
Add the custom extension to hart extension list. Signed-off-by: Yu Chien Peter Lin <[email protected]> Reviewed-by: Atish Patra <[email protected]> Reviewed-by: Lad Prabhakar <[email protected]> Tested-by: Lad Prabhakar <[email protected]> Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib')
-rw-r--r--lib/sbi/sbi_hart.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sbi/sbi_hart.c b/lib/sbi/sbi_hart.c
index bf8792af..c9483738 100644
--- a/lib/sbi/sbi_hart.c
+++ b/lib/sbi/sbi_hart.c
@@ -694,6 +694,9 @@ static inline char *sbi_hart_extension_id2string(int ext)
case SBI_HART_EXT_SMCNTRPMF:
estr = "smcntrpmf";
break;
+ case SBI_HART_EXT_XANDESPMU:
+ estr = "xandespmu";
+ break;
default:
break;
}