blob: c1c5e94c5cc63f2dd47e969969acb209bdb47326 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* 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;
}
|