summaryrefslogtreecommitdiff
path: root/configs/tec-ng_defconfig
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2018-09-26 06:55:08 -0700
committerAndes <uboot@andestech.com>2018-10-03 17:46:51 +0800
commit4afeedf1728fe7e992b460d0369a06f8bfe4f9f3 (patch)
tree123628689c240098072df7ee14d8e076f41d4743 /configs/tec-ng_defconfig
parent3ad4866dd7796718db939247e39f5ab9a121f9e3 (diff)
riscv: bootm: Correct the 1st kernel argument to hart id
The first argument of Linux kernel is the risc-v core hart id, from which the kernel is booted from. It is not the mach_id, which seems to be copied from arm. While we are here, this also changes the Linux kernel entry parameters' type to support both 32-bit and 64-bit. Note the hart id is hardcoded to zero for now, and we should change to fill in it with the value read from mhartid CSR of the hart which this routine is currently running on. 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>
Diffstat (limited to 'configs/tec-ng_defconfig')
0 files changed, 0 insertions, 0 deletions