summaryrefslogtreecommitdiff
path: root/src/soc/sifive/fu740/chip.c
blob: 78296244843a0843c9f2e9d4e659a09b8c68b873 (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, cbmem_top());
}

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