summaryrefslogtreecommitdiff
path: root/src/soc/nvidia/tegra124/cbmem.c
blob: 3f59f061c12d0421ff1e4037d866601b82f1bd09 (plain)
1
2
3
4
5
6
7
8
9
10
/* SPDX-License-Identifier: GPL-2.0-only */

#include <cbmem.h>
#include <soc/display.h>
#include <soc/sdram.h>

void *cbmem_top_chipset(void)
{
	return (void *)((sdram_max_addressable_mb() - FB_SIZE_MB) << 20UL);
}