mb/google/nissa/var/rull: Add 6W and 15W DPTF parameters
[coreboot2.git] / src / mainboard / emulation / spike-riscv / mainboard.c
bloba3857f826222d2f31f25398525ef4e6085cc0cbf
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <console/console.h>
4 #include <device/device.h>
6 static void mainboard_enable(struct device *dev)
8 /*
9 * Size of the emulated system RAM. On hardware, this would be external
10 * DDR memory.
12 * TODO: Get this size from the hardware-supplied configuration string.
14 const size_t ram_size = 1*GiB;
16 if (!dev) {
17 die("No dev0; die\n");
20 ram_range(dev, 0, 0x80000000, ram_size);
23 struct chip_operations mainboard_ops = {
24 .enable_dev = mainboard_enable,