Gitiles
Code Review
Sign In
review.coreboot.org
/
coreboot
/
37b161fb96c602765fef9f64415f809830b915a4
/
.
/
src
/
mainboard
/
emulation
/
qemu-aarch64
/
cbmem.c
blob: 6b6ac720cf6b227779ad3a4425a79f5036914288 [
file
] [
log
] [
blame
]
/* 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
);
}