Skip to content
Commit a5041e33 authored by Nikita Shubin's avatar Nikita Shubin Committed by Leo Yu-Chi Liang
Browse files

riscv: cpu: set gp before board_init_f_init_reserve



Restore global pointer before board_init_f_init_reserve call,
as "a0" can be set in harts_early_init call and we end up with
invalid global pointer.

Signed-off-by: default avatarNikita Shubin <n.shubin@yadro.com>
Reviewed-by: default avatarLeo Yu-Chi Liang <ycliang@andestech.com>
parent cdebee1f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment