u-boot-brain/arch/riscv
Bin Meng 4afeedf172 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>
2018-10-03 17:46:51 +08:00
..
cpu/ax25 riscv: Include bss subsections in linker script 2018-08-20 14:25:59 +02:00
dts riscv: dts: Support cfi flash 2018-05-29 14:45:04 +08:00
include/asm riscv: Remove setup.h 2018-10-03 17:44:44 +08:00
lib riscv: bootm: Correct the 1st kernel argument to hart id 2018-10-03 17:46:51 +08:00
config.mk config.mk: Remove duplicated -fno-strict-aliasing 2018-09-25 21:50:34 -04:00
Kconfig riscv: kconfig: Normalize architecture name spelling 2018-10-03 17:44:38 +08:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00