| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <bootmem.h> |
| 4 | #include <device/device.h> |
| 5 | #include <symbols.h> |
| 6 | |
| 7 | static void soc_enable(struct device *dev) |
| 8 | { |
| 9 | ram_range(dev, 0, 0, CONFIG_DRAM_SIZE_MB * (uint64_t)MiB); |
| 10 | } |
| 11 | |
| 12 | struct chip_operations soc_xilinx_zynq7000_ops = { |
| 13 | .name = "Xilinx Zynq 7000", |
| 14 | .enable_dev = soc_enable, |
| 15 | }; |