diff options
Diffstat (limited to 'src/mainboard/emulation')
-rw-r--r-- | src/mainboard/emulation/qemu-armv7/romstage.c | 2 | ||||
-rw-r--r-- | src/mainboard/emulation/qemu-riscv/memlayout.ld | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/mainboard/emulation/qemu-armv7/romstage.c b/src/mainboard/emulation/qemu-armv7/romstage.c index 598ddde10c..05a75bb80f 100644 --- a/src/mainboard/emulation/qemu-armv7/romstage.c +++ b/src/mainboard/emulation/qemu-armv7/romstage.c @@ -5,11 +5,13 @@ #include <program_loading.h> #include <romstage_common.h> +#if CONFIG(SEPARATE_ROMSTAGE) void main(void) { console_init(); romstage_main(); } +#endif void __noreturn romstage_main(void) { diff --git a/src/mainboard/emulation/qemu-riscv/memlayout.ld b/src/mainboard/emulation/qemu-riscv/memlayout.ld index 96ab74c516..4fdeb9dccb 100644 --- a/src/mainboard/emulation/qemu-riscv/memlayout.ld +++ b/src/mainboard/emulation/qemu-riscv/memlayout.ld @@ -17,7 +17,7 @@ SECTIONS SRAM_END(STAGES_START) DRAM_START(STAGES_START) -#if ENV_ROMSTAGE +#if ENV_SEPARATE_ROMSTAGE ROMSTAGE(STAGES_START, 128K) #endif #if ENV_RAMSTAGE |