Gitiles
Code Review
Sign In
review.coreboot.org
/
coreboot
/
c1de9e88e7edd85d2a4fe5b7f2f4a30ff4716a10
/
.
/
src
/
mainboard
/
emulation
/
qemu-power9
/
cbmem.c
blob: c1c5e94c5cc63f2dd47e969969acb209bdb47326 [
file
] [
log
] [
blame
]
/* SPDX-License-Identifier: GPL-2.0-only */
#include
<cbmem.h>
void
*
cbmem_top_chipset
(
void
)
{
/* Top of cbmem is at lowest usable DRAM address below 4GiB. */
/* For now, last 1M of 4G */
void
*
ptr
=
(
void
*)
(
4ULL
*
GiB
-
1
*
MiB
);
return
ptr
;
}