summaryrefslogtreecommitdiff
path: root/src/soc/ti/am335x/cbmem.c
blob: 14c927e960a9cf2d2d1a2298c5e9c887daabb29c (plain)
1
2
3
4
5
6
7
8
9
10
/* SPDX-License-Identifier: GPL-2.0-only */

#include <cbmem.h>
#include <commonlib/bsd/helpers.h>
#include <symbols.h>

uintptr_t cbmem_top_chipset(void)
{
	return (uintptr_t)_dram + CONFIG_DRAM_SIZE_MB * MiB;
}