[PATCH v2 4/5] lib: sbi: Print the RW section offset
Himanshu Chauhan
hchauhan at ventanamicro.com
Wed Jan 18 03:37:56 PST 2023
Print the RW section offset when firmware base and size is
being printed.
Signed-off-by: Himanshu Chauhan <hchauhan at ventanamicro.com>
---
lib/sbi/sbi_init.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/sbi/sbi_init.c b/lib/sbi/sbi_init.c
index 259a191..e353c33 100644
--- a/lib/sbi/sbi_init.c
+++ b/lib/sbi/sbi_init.c
@@ -108,6 +108,7 @@ static void sbi_boot_print_general(struct sbi_scratch *scratch)
sbi_printf("Firmware Base : 0x%lx\n", scratch->fw_start);
sbi_printf("Firmware Size : %d KB\n",
(u32)(scratch->fw_size / 1024));
+ sbi_printf("Firmware RW Offset : 0x%lx\n", scratch->fw_rw_offset);
/* SBI details */
sbi_printf("Runtime SBI Version : %d.%d\n",
--
2.39.0
More information about the opensbi
mailing list