Gitiles
Code Review
Sign In
review.coreboot.org
/
coreboot
/
bfb11bec3b3fec638adf864a9b9b2cff6671fed8
/
.
/
src
/
mainboard
/
emulation
/
qemu-aarch64
/
cbmem.c
blob: 389ff4ead0d16adfaeaf4c9a3137fbea74bab8ec [
file
] [
log
] [
blame
]
/* SPDX-License-Identifier: GPL-2.0-or-later */
#include
<cbmem.h>
#include
<ramdetect.h>
#include
<symbols.h>
uintptr_t
cbmem_top_chipset
(
void
)
{
return
(
uintptr_t
)
_dram
+
(
probe_ramsize
((
uintptr_t
)
_dram
,
CONFIG_DRAM_SIZE_MB
)
*
MiB
);
}