diff options
author | Anup Patel <apatel@ventanamicro.com> | 2022-04-28 15:41:02 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2022-05-07 07:33:24 +0300 |
commit | 5b8b377178df56ee6bca2cf31b7580ca07cb7d70 (patch) | |
tree | 838bcf429dbdac12da837ed54ec3994efb65a95c | |
parent | 5a6be99cc53b80ff1691e127d6dfbdd7ec4e9e45 (diff) | |
download | opensbi-5b8b377178df56ee6bca2cf31b7580ca07cb7d70.tar.xz |
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 <apatel@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
-rw-r--r-- | lib/sbi/sbi_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
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", |