u-boot/arch/riscv
Heinrich Schuchardt a718e2aed5 riscv: simplify longjmp
The value returned by setjmp must be nonzero. If zero is passed as
parameter it must be replaced by 1.

This patch reduces the code size a bit.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
2021-04-08 15:37:29 +08:00
..
cpu cpu: Rename SPL_CPU_SUPPORT to SPL_CPU 2021-03-27 15:04:31 +13:00
dts riscv: sifive: Rename fu540 board to unleashed 2021-04-08 15:37:29 +08:00
include/asm riscv: Change phys_addr_t and phys_size_t to 64-bit 2021-02-03 03:38:41 -07:00
lib riscv: simplify longjmp 2021-04-08 15:37:29 +08:00
config.mk kconfig / kbuild: Re-sync with Linux 4.19 2020-04-10 11:18:32 -04:00
Kconfig riscv: sifive: Rename fu540 board to unleashed 2021-04-08 15:37:29 +08:00
Makefile riscv: add Kconfig entries for the code model 2018-12-18 09:56:26 +08:00