]> git.dujemihanovic.xyz Git - u-boot.git/commit
riscv: Introduce SPL_SMP Kconfig option for U-Boot SPL
authorBin Meng <bmeng.cn@gmail.com>
Thu, 16 Apr 2020 15:09:30 +0000 (08:09 -0700)
committerAndes <uboot@andestech.com>
Thu, 23 Apr 2020 02:14:06 +0000 (10:14 +0800)
commit191636e4489885d197e61ad34b48e8c76990735e
tree897eaa5de125f640a3153016a8ceba4f1a7a4eed
parent84dc9d26908798c7e9ee5469965c16653593fde5
riscv: Introduce SPL_SMP Kconfig option for U-Boot SPL

With SBI v0.2 HSM extension, only a single hart need to boot and
enter operating system. The booting hart can bring up secondary
harts one by one afterwards.

For U-Boot running in SPL, SMP can be turned on, while in U-Boot
proper, SMP can be optionally turned off if using SBI v0.2 HSM.

Introduce a new SPL_SMP Kconfig option to support this.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
arch/riscv/Kconfig
arch/riscv/cpu/start.S
arch/riscv/include/asm/global_data.h
arch/riscv/lib/Makefile
arch/riscv/lib/spl.c
common/spl/spl_opensbi.c