diff options
Diffstat (limited to 'src/mainboard/emulation/qemu-power9')
-rw-r--r-- | src/mainboard/emulation/qemu-power9/mainboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/emulation/qemu-power9/mainboard.c b/src/mainboard/emulation/qemu-power9/mainboard.c index 542339da0a..5af49247e0 100644 --- a/src/mainboard/emulation/qemu-power9/mainboard.c +++ b/src/mainboard/emulation/qemu-power9/mainboard.c @@ -8,7 +8,7 @@ static void mainboard_enable(struct device *dev) { if (!dev) die("No dev0; die\n"); - ram_resource_kb(dev, 0, 0, (unsigned long)cbmem_top() / KiB); + ram_range(dev, 0, 0, (unsigned long)cbmem_top()); } struct chip_operations mainboard_ops = { |