summaryrefslogtreecommitdiffstats
path: root/src/arch/x86/cbmem.c
blob: 353368a1ec3893193b82b0b4450b93f4721da048 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: GPL-2.0-only */

#include <cbmem.h>

#if CONFIG(CBMEM_TOP_BACKUP)

void *cbmem_top_chipset(void)
{
	/* Top of CBMEM is at highest usable DRAM address below 4GiB. */
	return (void *)restore_top_of_low_cacheable();
}

#endif /* CBMEM_TOP_BACKUP */