coreboot-kgpe-d16/src/arch
Philipp Hug 968a23d2e0 riscv: fix non-SMP support
Use CONFIG_CPU_MAX which defaults to 1 instead of CONFIG_RISCV_HART_NUM.
The default value of CONFIG_RISCV_HART_NUM was 0 and cause a jump to address 0.
Add a die() call to fail gracefully.

Change-Id: I4e3aa09b787ae0f26a4aae375f4e5fcd745a0a1e
Signed-off-by: Philipp Hug <philipp@hug.cx>
Reviewed-on: https://review.coreboot.org/c/29993
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Xiang Wang <wxjstz@126.com>
Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
2018-12-07 11:37:53 +00:00
..
arm src: Remove duplicated round up function 2018-11-29 12:17:45 +00:00
arm64 src: Remove unneeded include <cbmem.h> 2018-11-16 10:56:47 +00:00
mips selfboot: remove bounce buffers 2018-10-11 17:42:41 +00:00
ppc64 arch/power8: Rename to ppc64 2018-11-30 20:02:17 +00:00
riscv riscv: fix non-SMP support 2018-12-07 11:37:53 +00:00
x86 arch/x86/include/stdint: Fix PRIu64 2018-12-05 13:27:31 +00:00