From 5b8b377178df56ee6bca2cf31b7580ca07cb7d70 Mon Sep 17 00:00:00 2001 From: Anup Patel Date: Thu, 28 Apr 2022 18:11:02 +0530 Subject: lib: sbi: Update the name of ISA string printed at boot time The ISA string printed at boot time is not the complete ISA string representing all single letter and multi-letter extensions rather it is base ISA string derived from misa CSR so let us update the boot print accordingly. Signed-off-by: Anup Patel Reviewed-by: Atish Patra --- lib/sbi/sbi_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sbi/sbi_init.c b/lib/sbi/sbi_init.c index 660b11f..c4def58 100644 --- a/lib/sbi/sbi_init.c +++ b/lib/sbi/sbi_init.c @@ -142,7 +142,7 @@ static void sbi_boot_print_hart(struct sbi_scratch *scratch, u32 hartid) sbi_hart_get_priv_version_str(scratch, str, sizeof(str)); sbi_printf("Boot HART Priv Version : %s\n", str); misa_string(xlen, str, sizeof(str)); - sbi_printf("Boot HART ISA : %s\n", str); + sbi_printf("Boot HART Base ISA : %s\n", str); sbi_hart_get_features_str(scratch, str, sizeof(str)); sbi_printf("Boot HART Features : %s\n", str); sbi_printf("Boot HART PMP Count : %d\n", -- cgit v1.2.3