summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/emulation')
-rw-r--r--src/mainboard/emulation/qemu-i440fx/romstage.c2
-rw-r--r--src/mainboard/emulation/qemu-q35/romstage.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/emulation/qemu-i440fx/romstage.c b/src/mainboard/emulation/qemu-i440fx/romstage.c
index bf33dee668..8dc61b200f 100644
--- a/src/mainboard/emulation/qemu-i440fx/romstage.c
+++ b/src/mainboard/emulation/qemu-i440fx/romstage.c
@@ -33,7 +33,7 @@
#include "memory.c"
-void main(unsigned long bist);
+#include <cpu/intel/car.h>
void main(unsigned long bist)
{
int cbmem_was_initted;
diff --git a/src/mainboard/emulation/qemu-q35/romstage.c b/src/mainboard/emulation/qemu-q35/romstage.c
index 190c775def..635a44f77e 100644
--- a/src/mainboard/emulation/qemu-q35/romstage.c
+++ b/src/mainboard/emulation/qemu-q35/romstage.c
@@ -34,6 +34,7 @@
#include "../qemu-i440fx/memory.c"
+#include <cpu/intel/car.h>
void main(unsigned long bist)
{
int cbmem_was_initted;