diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/riscv/opensbi.c | 1 | ||||
-rw-r--r-- | src/mainboard/emulation/qemu-riscv/Kconfig | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/riscv/opensbi.c b/src/arch/riscv/opensbi.c index eb557d240a..48f0f2a9cd 100644 --- a/src/arch/riscv/opensbi.c +++ b/src/arch/riscv/opensbi.c @@ -3,6 +3,7 @@ /* OpenSBI wants to make its own definitions for some of our compiler.h macros. */ #undef __packed #undef __noreturn +#undef __aligned #include <sbi/fw_dynamic.h> #include <arch/boot.h> diff --git a/src/mainboard/emulation/qemu-riscv/Kconfig b/src/mainboard/emulation/qemu-riscv/Kconfig index bec992dfa5..0af309a2cd 100644 --- a/src/mainboard/emulation/qemu-riscv/Kconfig +++ b/src/mainboard/emulation/qemu-riscv/Kconfig @@ -50,7 +50,7 @@ config DRAM_SIZE_MB config OPENSBI_PLATFORM string - default "qemu/virt" + default "generic" # ugly, but CBFS is placed in DRAM... config OPENSBI_TEXT_START |