coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
cbmem.c
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <
cbmem.h
>
4
#include <soc/display.h>
5
#include <soc/sdram.h>
6
7
void
*
cbmem_top_chipset
(
void
)
8
{
9
return
(
void
*)((
sdram_max_addressable_mb
() -
FB_SIZE_MB
) << 20UL);
10
}
cbmem.h
cbmem_top_chipset
void * cbmem_top_chipset(void)
Definition:
cbmem.c:6
sdram_max_addressable_mb
uintptr_t sdram_max_addressable_mb(void)
Definition:
sdram.c:630
FB_SIZE_MB
#define FB_SIZE_MB
Definition:
display.h:11
src
soc
nvidia
tegra124
cbmem.c
Generated by
1.9.1