diff options
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/riscv/opensbi.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/riscv/opensbi.c b/src/arch/riscv/opensbi.c index 3a738ec83a..eb557d240a 100644 --- a/src/arch/riscv/opensbi.c +++ b/src/arch/riscv/opensbi.c @@ -1,5 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0-only */ +/* OpenSBI wants to make its own definitions for some of our compiler.h macros. */ +#undef __packed +#undef __noreturn + #include <sbi/fw_dynamic.h> #include <arch/boot.h> /* DO NOT INCLUDE COREBOOT HEADERS HERE */ |