summaryrefslogtreecommitdiff
path: root/src/soc/ibm/power9/chip.c
blob: f93c21600a3fcd278d5324f7a26ead7d21d49758 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: GPL-2.0-only */

#include <cbmem.h>
#include <device/device.h>

static void enable_soc_dev(struct device *dev)
{
	ram_range(dev, 0, 0, cbmem_top_chipset());
	/* This is for OCC and HOMER images */
	reserved_ram_range(dev, 1, cbmem_top_chipset(), 256 * MiB);
}

struct chip_operations soc_ibm_power9_ops = {
	.name = "POWER9",
	.enable_dev = enable_soc_dev,
};