| 1 | /* 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 | |
| 8 | static void fu740_init(struct device *dev) |
| 9 | { |
| 10 | int index = 0; |
| 11 | ram_from_to(dev, index++, FU740_DRAM, cbmem_top()); |
| 12 | } |
| 13 | |
| 14 | struct chip_operations soc_sifive_fu740_ops = { |
| 15 | .name = "SIFIVE FU740", |
| 16 | .enable_dev = fu740_init, |
| 17 | }; |