diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2021-06-28 00:00:04 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2022-06-26 21:53:43 +0000 |
commit | 1cc775ef9d4efd041db5dde45d822f54a3b27466 (patch) | |
tree | b38e87e32ec3acc9d9139f9076868452e5a4d54b /src/mainboard/emulation/qemu-armv7 | |
parent | c9a0301dfa1855786d8a5e6c9a0489169fb9fbd1 (diff) |
mb/emulation/qemu-armv7,power8: Do resource transition
Change-Id: Ic31eb81bc98fd94877a51ebf44cfb2c69e4db0ae
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55923
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/emulation/qemu-armv7')
-rw-r--r-- | src/mainboard/emulation/qemu-armv7/mainboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/emulation/qemu-armv7/mainboard.c b/src/mainboard/emulation/qemu-armv7/mainboard.c index 4111caab0f..441086fe3d 100644 --- a/src/mainboard/emulation/qemu-armv7/mainboard.c +++ b/src/mainboard/emulation/qemu-armv7/mainboard.c @@ -39,7 +39,7 @@ static void mainboard_enable(struct device *dev) discovered = probe_ramsize((uintptr_t)_dram, CONFIG_DRAM_SIZE_MB); printk(BIOS_DEBUG, "%d MiB of RAM discovered\n", discovered); - ram_resource_kb(dev, 0, 0x60000000 >> 10, discovered << 10); + ram_range(dev, 0, 0x60000000, discovered * MiB); init_gfx(); } |