summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-aarch64/cbmem.c
blob: fee2a36e78cda9b9e30dc919984d71d26ee45dbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 *
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

#include <cbmem.h>
#include <ramdetect.h>
#include <symbols.h>

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