Gitiles
Code Review
Sign In
review.coreboot.org
/
coreboot
/
799c3219146c8d246ef95f1fdb83dc7bc1f2be61
/
.
/
src
/
soc
/
nvidia
/
tegra124
/
cbmem.c
blob: 287ef629920b067efd7fb2add3188abd685fbb57 [
file
] [
log
] [
blame
]
/* SPDX-License-Identifier: GPL-2.0-only */
#include
<cbmem.h>
#include
<commonlib/bsd/helpers.h>
#include
<soc/display.h>
#include
<soc/sdram.h>
uintptr_t
cbmem_top_chipset
(
void
)
{
return
(
sdram_max_addressable_mb
()
-
FB_SIZE_MB
)
*
MiB
;
}