projects
/
platform
/
kernel
/
opensbi-spacemit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c10e3fe
)
lib: sbi: Print the RW section offset
author
Himanshu Chauhan
<hchauhan@ventanamicro.com>
Thu, 19 Jan 2023 15:18:25 +0000
(20:48 +0530)
committer
Anup Patel
<anup@brainfault.org>
Mon, 23 Jan 2023 04:36:14 +0000
(10:06 +0530)
Print the RW section offset when firmware base and size is
being printed.
Signed-off-by: Himanshu Chauhan <hchauhan@ventanamicro.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
lib/sbi/sbi_init.c
patch
|
blob
|
history
diff --git
a/lib/sbi/sbi_init.c
b/lib/sbi/sbi_init.c
index 259a191051a71dc5feaaad8e76c8b7cf9a266223..e353c3348303e03552c5050404763496e23b325c 100644
(file)
--- 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",