blob: 53e5fcf13ba6b659c3b34d6a1c86d61f97dd1ddd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* SPDX-License-Identifier: GPL-2.0-only */
#include <cbmem.h>
#include <commonlib/helpers.h>
#include <soc/addressmap.h>
#include <soc/sdram.h>
#include <symbols.h>
uintptr_t cbmem_top_chipset(void)
{
return MIN((uintptr_t)_dram + sdram_size_mb() * MiB, FU540_MAXDRAM);
}
|