blob: cd5052be1ae472a190f77c56b907c12ead70cd7e [file] [log] [blame]
Maximilian Brune2ccb8e72024-01-14 21:59:27 +06001/* SPDX-License-Identifier: GPL-2.0-only */
2
3#include <cbmem.h>
4#include <device/device.h>
5#include <soc/addressmap.h>
6#include <symbols.h>
7
8static void fu740_init(struct device *dev)
9{
10 int index = 0;
11 ram_from_to(dev, index++, FU740_DRAM, (uintptr_t)cbmem_top());
12}
13
14struct chip_operations soc_sifive_fu740_ops = {
15 .name = "SIFIVE FU740",
16 .enable_dev = fu740_init,
17};