summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/spike-riscv/mainboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/emulation/spike-riscv/mainboard.c')
-rw-r--r--src/mainboard/emulation/spike-riscv/mainboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/emulation/spike-riscv/mainboard.c b/src/mainboard/emulation/spike-riscv/mainboard.c
index 2454f0462f..a3857f8262 100644
--- a/src/mainboard/emulation/spike-riscv/mainboard.c
+++ b/src/mainboard/emulation/spike-riscv/mainboard.c
@@ -17,7 +17,7 @@ static void mainboard_enable(struct device *dev)
die("No dev0; die\n");
}
- ram_resource_kb(dev, 0, 0x80000000/KiB, ram_size/KiB);
+ ram_range(dev, 0, 0x80000000, ram_size);
}
struct chip_operations mainboard_ops = {