/* SPDX-License-Identifier: GPL-2.0-only */ #include #include static void mainboard_enable(struct device *dev) { if (!dev) { die("No dev0; die\n"); } /* Where does RAM live? */ ram_resource_kb(dev, 0, 2048, 32768); } struct chip_operations mainboard_ops = { .enable_dev = mainboard_enable, };