]> git.dujemihanovic.xyz Git - u-boot.git/commit
riscv: bootm: Pass mhartid CSR value to kernel
authorBin Meng <bmeng.cn@gmail.com>
Wed, 26 Sep 2018 13:55:16 +0000 (06:55 -0700)
committerAndes <uboot@andestech.com>
Wed, 3 Oct 2018 09:48:08 +0000 (17:48 +0800)
commited49ba4dcccb21cee1c32427cf5bbf09521cd8dd
tree3c94246484207dcd2ed50c1706ae5d79344bfce1
parente5ea1e586076b6c130e16e4a45749fc65679663d
riscv: bootm: Pass mhartid CSR value to kernel

So far this is hardcoded to zero, and we should read the value from
mhartid CSR and pass it to Linux kernel.

Suggested-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Reviewed-by: Rick Chen <rick@andestech.com>
arch/riscv/lib/bootm.c