aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-08-15 09:49:26 +0200
committerAndes <uboot@andestech.com>2020-08-25 09:33:45 +0800
commit092f15aee5bdebc010ad99120bab96162d9c64c8 (patch)
treea1b36d351bae0445b3761403b7ac2aa9d02fb659 /doc
parent183f1e27123769c41b3a73b92839497d4812f790 (diff)
downloadu-boot-092f15aee5bdebc010ad99120bab96162d9c64c8.zip
u-boot-092f15aee5bdebc010ad99120bab96162d9c64c8.tar.gz
u-boot-092f15aee5bdebc010ad99120bab96162d9c64c8.tar.bz2
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: 191636e44898 ("riscv: Introduce SPL_SMP Kconfig option for U-Boot SPL") Fixes: 8c59f2023cc8 ("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>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions