diff options
| author | Yu-Chien Peter Lin <[email protected]> | 2026-02-24 11:17:32 +0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2026-03-22 11:16:33 +0530 |
| commit | 4813a2042096b7860655761aad973723293a552e (patch) | |
| tree | d1ad3b62c92126c6ccbd7cb6ec62c4c94355fa03 /include | |
| parent | 0ab0c470d5886ce5852c94f16725c990e7f08662 (diff) | |
lib: sbi_init: Call hart init and timer init before platform early init
To allow the platform early drivers to use the sbi_timer_mdelay(),
sbi_timer_udelay() and sbi_hart_has_extension() helpers, reorder the
initialization sequence must call sbi_hart_init() and sbi_timer_init()
prior to sbi_platform_early_init() during both cold and warm boot paths.
Reviewed-by: Greentime Hu <[email protected]>
Reviewed-by: Zong Li <[email protected]>
Signed-off-by: Yu-Chien Peter Lin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
