u-boot/arch
Heinrich Schuchardt 092f15aee5 riscv: fix building with CONFIG_SPL_SMP=n
Building with CONFIG_SPL_SMP=n results in:

arch/riscv/lib/spl.c: In function ‘jump_to_image_no_args’:
arch/riscv/lib/spl.c:33:6:
error: unused variable ‘ret’ [-Werror=unused-variable]
   33 |  int ret;
      |      ^~~

Define the variable ret as __maybe_unused.

Fixes: 191636e448 ("riscv: Introduce SPL_SMP Kconfig option for U-Boot SPL")
Fixes: 8c59f2023c ("riscv: add SPL support")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Rick Chen <rick@andestech.com>
Reviewed-by: Pragnesh Patel <pragnesh.patel@openfive.com>
2020-08-25 09:33:45 +08:00
..
arc board_f: Factor out bdinfo bi_mem{start, size} to setup_bdinfo 2020-08-06 14:26:35 -04:00
arm Convert CONFIG_NETCONSOLE to Kconfig 2020-08-23 13:06:36 -04:00
m68k board_f: m68k: Factor out m68k-specific bdinfo setup 2020-08-06 14:26:35 -04:00
microblaze efi_loader: use CONFIG_STACK_SIZE in the UEFI sub-system 2020-08-01 11:58:23 +02:00
mips - doc: fix qemu-mips build instructions 2020-08-04 11:07:16 -04:00
nds32 treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
nios2 cpu: Convert the methods to use a const udevice * 2020-07-25 14:46:57 -06:00
powerpc board_f: ppc: Factor out ppc-specific bdinfo setup 2020-08-06 14:26:35 -04:00
riscv riscv: fix building with CONFIG_SPL_SMP=n 2020-08-25 09:33:45 +08:00
sandbox sandbox: u-boot.lds: Remove bogus __bss_start symbol 2020-08-22 08:54:51 -06:00
sh sh: r2dplus: Add SCIF1 to the basic DT 2020-08-02 19:58:27 +02:00
x86 sf: Drop dm.h header file from spi_flash.h 2020-08-03 22:19:54 -04:00
xtensa board_f: Factor out bdinfo bi_mem{start, size} to setup_bdinfo 2020-08-06 14:26:35 -04:00
.gitignore
Kconfig board_f: Factor out bdinfo bi_mem{start, size} to setup_bdinfo 2020-08-06 14:26:35 -04:00
u-boot-elf.lds arch: Add explicit linker script for u-boot-elf 2020-04-03 11:52:55 -04:00