summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-power9/cbmem.c
blob: 1b7b6908830eee6b43631e31785c7ba49b022940 (plain)
1
2
3
4
5
6
7
8
9
/* SPDX-License-Identifier: GPL-2.0-only */

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

void *cbmem_top_chipset(void)
{
	return (void *)(probe_ramsize(0, CONFIG_DRAM_SIZE_MB) * MiB);
}