[PATCH v3 1/3] lib: sbi: move sbi_boot_print_general()
Dong Du
dd_nirvana at sjtu.edu.cn
Wed Oct 27 07:50:57 PDT 2021
On Oct 26, 2021, at 9:48 PM, Heinrich Schuchardt heinrich.schuchardt at canonical.com wrote:
> Moving the sbi_boot_print_general() call after the
> sbi_platform_final_init() call allows to print devices initialized in the
> latter.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
> v3:
> no change
> v2:
> new patch
> ---
Looks good to me.
Reviewed-by: Dong Du <Dd_nirvana at sjtu.edu.cn>
> lib/sbi/sbi_init.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/lib/sbi/sbi_init.c b/lib/sbi/sbi_init.c
> index b1c7cf0..18eb0d7 100644
> --- a/lib/sbi/sbi_init.c
> +++ b/lib/sbi/sbi_init.c
> @@ -301,8 +301,6 @@ static void __noreturn init_coldboot(struct sbi_scratch
> *scratch, u32 hartid)
> sbi_hart_hang();
> }
>
> - sbi_boot_print_general(scratch);
> -
> /*
> * Note: Finalize domains after HSM initialization so that we
> * can startup non-root domains.
> @@ -336,6 +334,8 @@ static void __noreturn init_coldboot(struct sbi_scratch
> *scratch, u32 hartid)
> sbi_hart_hang();
> }
>
> + sbi_boot_print_general(scratch);
> +
> sbi_boot_print_hart(scratch, hartid);
>
> wake_coldboot_harts(scratch, hartid);
> --
> 2.32.0
>
>
> --
> opensbi mailing list
> opensbi at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/opensbi
More information about the opensbi
mailing list