diff options
Diffstat (limited to 'src/mainboard/emulation/qemu-armv7/mainboard.c')
-rw-r--r-- | src/mainboard/emulation/qemu-armv7/mainboard.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mainboard/emulation/qemu-armv7/mainboard.c b/src/mainboard/emulation/qemu-armv7/mainboard.c index cc14dd8e7b..338cff9321 100644 --- a/src/mainboard/emulation/qemu-armv7/mainboard.c +++ b/src/mainboard/emulation/qemu-armv7/mainboard.c @@ -18,9 +18,10 @@ #include <device/device.h> #include <cbmem.h> #include <halt.h> -#include "mainboard.h" #include <edid.h> #include <device/mmio.h> +#include <ramdetect.h> +#include <symbols.h> static void init_gfx(void) { @@ -57,7 +58,7 @@ static void mainboard_enable(struct device *dev) halt(); } - discovered = probe_ramsize(); + discovered = probe_ramsize((uintptr_t)_dram, CONFIG_DRAM_SIZE_MB); printk(BIOS_DEBUG, "%d MiB of RAM discovered\n", discovered); ram_resource(dev, 0, 0x60000000 >> 10, discovered << 10); cbmem_recovery(0); |