riscv: sifive_u: Update BIOS_FILENAME for 32-bit
Update BIOS_FILENAME to consider 32-bit bios image file name. Tested booting Linux v5.5 32-bit image (built from rv32_defconfig plus CONFIG_SOC_SIFIVE) with the default 32-bit bios image. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
This commit is contained in:
parent
a6fcc80bea
commit
b78c329631
@ -56,7 +56,11 @@
|
|||||||
|
|
||||||
#include <libfdt.h>
|
#include <libfdt.h>
|
||||||
|
|
||||||
#define BIOS_FILENAME "opensbi-riscv64-sifive_u-fw_jump.bin"
|
#if defined(TARGET_RISCV32)
|
||||||
|
# define BIOS_FILENAME "opensbi-riscv32-sifive_u-fw_jump.bin"
|
||||||
|
#else
|
||||||
|
# define BIOS_FILENAME "opensbi-riscv64-sifive_u-fw_jump.bin"
|
||||||
|
#endif
|
||||||
|
|
||||||
static const struct MemmapEntry {
|
static const struct MemmapEntry {
|
||||||
hwaddr base;
|
hwaddr base;
|
||||||
|
Loading…
Reference in New Issue
Block a user