summaryrefslogtreecommitdiffstats
path: root/src/soc/ti/am335x/soc.c
blob: 410b2d772fdbc870e8dc369c9064d0bd1493111d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: GPL-2.0-only */

#include <device/device.h>
#include <symbols.h>
#include <bootmem.h>

static void soc_enable(struct device *dev)
{
	ram_range(dev, 0, (uintptr_t)_dram, CONFIG_DRAM_SIZE_MB * (uint64_t)MiB);
}

struct chip_operations soc_ti_am335x_ops = {
	CHIP_NAME("TI AM335X")
	.enable_dev = soc_enable,
};