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

#include <cbmem.h>
#include <device/device.h>
#include <soc/addressmap.h>
#include <symbols.h>

static void fu740_init(struct device *dev)
{
	int index = 0;
	ram_from_to(dev, index++, FU740_DRAM, (uintptr_t)cbmem_top());
}

struct chip_operations soc_sifive_fu740_ops = {
	.name = "SIFIVE FU740",
	.enable_dev = fu740_init,
};