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
)
9 * Size of the emulated system RAM. On hardware, this would be external
12 * TODO: Get this size from the hardware-supplied configuration string.
14 const size_t ram_size
= 1*GiB
;
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
,