diff options
-rw-r--r-- | src/mainboard/emulation/qemu-i440fx/memmap.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mainboard/emulation/qemu-i440fx/memmap.c b/src/mainboard/emulation/qemu-i440fx/memmap.c index 2f8a4f8aef..b30b3816c5 100644 --- a/src/mainboard/emulation/qemu-i440fx/memmap.c +++ b/src/mainboard/emulation/qemu-i440fx/memmap.c @@ -3,6 +3,7 @@ #include <cbmem.h> #include <arch/io.h> #include <arch/romstage.h> +#include <console/console.h> #include "memory.h" #include "fw_cfg.h" @@ -44,8 +45,10 @@ void *cbmem_top_chipset(void) uintptr_t top = 0; top = fw_cfg_tolud(); - if (!top) + if (!top) { + printk(BIOS_WARNING, "QEMU: Falling back to RAM info in CMOS\n"); top = (uintptr_t)qemu_get_memory_size() * 1024; + } return (void *)top; } |