payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / emulation / qemu-power9 / mainboard.c
blob542339da0a780024b183bd4c189fa4b77c18b63d
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <console/console.h>
4 #include <device/device.h>
5 #include <cbmem.h>
7 static void mainboard_enable(struct device *dev)
9 if (!dev)
10 die("No dev0; die\n");
11 ram_resource_kb(dev, 0, 0, (unsigned long)cbmem_top() / KiB);
14 struct chip_operations mainboard_ops = {
15 .enable_dev = mainboard_enable,