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