u-boot-brain/arch
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
..
arc arch: types.h: factor out fixed width typedefs to int-ll64.h 2018-09-10 20:48:16 -04:00
arm Merge branch 'master' of git://git.denx.de/u-boot-spi 2018-10-02 17:01:46 -04:00
m68k m68k: ColdFire mcf5441x, add eSDHC support 2018-09-16 00:01:13 +02:00
microblaze arch: types.h: factor out fixed width typedefs to int-ll64.h 2018-09-10 20:48:16 -04:00
mips mips: use asm-generic/atomic.h 2018-09-25 21:49:18 -04:00
nds32 config.mk: Remove duplicated -fno-strict-aliasing 2018-09-25 21:50:34 -04:00
nios2 .gitignore: move *.dtb and *.dtb.S patterns to the top-level .gitignore 2018-06-18 14:43:12 -04:00
powerpc powerpc: dts: Enable device tree support for T2080QDS 2018-09-27 10:14:14 -07:00
riscv riscv: bootm: Correct the 1st kernel argument to hart id 2018-10-03 17:46:51 +08:00
sandbox Merge git://git.denx.de/u-boot-dm 2018-09-30 18:16:51 -04:00
sh sh: tmu: Zap get_tbclk and timer_read_counter 2018-09-15 03:19:07 +02:00
x86 Patch queue for efi - 2018-09-26 2018-09-26 17:02:46 -04:00
xtensa xtensa: use asm-generic/atomic.h 2018-09-25 21:49:18 -04:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig riscv: kconfig: Normalize architecture name spelling 2018-10-03 17:44:38 +08:00