[PATCH v3 4/5] lib: sbi: Print the RW section offset
Anup Patel
anup at brainfault.org
Sun Jan 22 20:34:57 PST 2023
On Thu, Jan 19, 2023 at 8:48 PM Himanshu Chauhan
<hchauhan at ventanamicro.com> wrote:
>
> Print the RW section offset when firmware base and size is
> being printed.
>
> Signed-off-by: Himanshu Chauhan <hchauhan at ventanamicro.com>
This was already reviewed but nevertheless ...
Reviewed-by: Anup Patel <anup at brainfault.org>
Regards,
Anup
> ---
> 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.1
>
>
> --
> opensbi mailing list
> opensbi at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/opensbi
More information about the opensbi
mailing list