diff options
| author | Nikita Shubin <[email protected]> | 2022-05-20 14:41:17 +0300 |
|---|---|---|
| committer | Leo Yu-Chi Liang <[email protected]> | 2022-08-11 18:42:53 +0800 |
| commit | a5041e33e4f05efec8a412641243c9281cba47e9 (patch) | |
| tree | 2863c733b1de90da6a6702324b979ef2fb913162 /scripts | |
| parent | cdebee1fd9fa04cc4c972f826bae19b28c253eb0 (diff) | |
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: Nikita Shubin <[email protected]>
Reviewed-by: Leo Yu-Chi Liang <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
