summaryrefslogtreecommitdiff
path: root/lib/utils
diff options
context:
space:
mode:
authorHeinrich Schuchardt <[email protected]>2023-10-29 00:49:58 +0200
committerAnup Patel <[email protected]>2023-11-17 12:04:18 +0530
commitefcac338bdf24273ea8a8e332bcb64adfd0dbf39 (patch)
treed5f79aad73aa0fdeb6a7c59f4260877999ebe615 /lib/utils
parent280f7ae62724b184fdd61347e6f905bc39dec64b (diff)
lib: sbi: Add Zkr in hart extensions
- Add Zkr as extension in sbi_hart_extensions enum - Return "zkr" string for Zkr extension from sbi_hart_extension_id2string Signed-off-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils')
-rw-r--r--lib/utils/fdt/fdt_helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/utils/fdt/fdt_helper.c b/lib/utils/fdt/fdt_helper.c
index 9ae7f09f..35be7bab 100644
--- a/lib/utils/fdt/fdt_helper.c
+++ b/lib/utils/fdt/fdt_helper.c
@@ -376,6 +376,7 @@ static int fdt_parse_isa_one_hart(const char *isa, unsigned long *extensions)
}
set_multi_letter_ext("smepmp", SBI_HART_EXT_SMEPMP);
+ set_multi_letter_ext("zkr", SBI_HART_EXT_ZKR);
#undef set_multi_letter_ext
}