diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2023-10-24 17:53:18 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-11-20 13:59:35 +0300 |
commit | 597ac160a4ad7c94e03ba1263ee219884c76c5d7 (patch) | |
tree | 70dfa63d390fa8835c7bcb05a89d2268d765fd22 /drivers/net/ethernet/intel | |
parent | 04e446f54f664f5082778e9283810b56534450c9 (diff) | |
download | linux-597ac160a4ad7c94e03ba1263ee219884c76c5d7.tar.xz |
riscv: boot: Fix creation of loader.bin
[ Upstream commit 57a4542cb7c9baa1509c3366b57a08d75b212ead ]
When flashing loader.bin for K210 using kflash:
[ERROR] This is an ELF file and cannot be programmed to flash directly: arch/riscv/boot/loader.bin
Before, loader.bin relied on "OBJCOPYFLAGS := -O binary" in the main
RISC-V Makefile to create a boot image with the right format. With this
removed, the image is now created in the wrong (ELF) format.
Fix this by adding an explicit rule.
Fixes: 505b02957e74f0c5 ("riscv: Remove duplicate objcopy flag")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/1086025809583809538dfecaa899892218f44e7e.1698159066.git.geert+renesas@glider.be
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel')
0 files changed, 0 insertions, 0 deletions