summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-aarch64/cbmem.c
blob: d02a3b293cdbe4e813b771db0ddfbb7a64427492 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * This file is part of the coreboot project.
 *
 *
 * 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);
}