[RFC PATCH v6 1/2] arch: riscv: cpu: Add callback to init each core
nitpicky, arch is redundant in title.
riscv: cpu: Add callback to init each core
will be fine.
>
> Add a callback harts_early_init() to start.S to allow different riscv
> hart perform setup code for each hart as e
Add a callback harts_early_init() to start.S to allow different riscv
hart perform setup code for each hart as early as possible. Since all
the harts enter the callback, they must be able to run the same
setup.
Signed-off-by: Green Wan
---
arch/riscv/cpu/cpu.c | 11 +++
2 matches
Mail list logo