/* SPDX-License-Identifier: GPL-2.0-only */ #include #include #include static void mainboard_enable(struct device *dev) { ram_resource_kb(dev, 0, (uintptr_t)_dram/KiB, sdram_size_mb()*KiB); } struct chip_operations mainboard_ops = { .enable_dev = mainboard_enable, };