summaryrefslogtreecommitdiff
path: root/src/arch/x86/cbmem.c
blob: 55215f651aee8486f99784205ebef547a267a981 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: GPL-2.0-only */
/* This file is part of the coreboot project. */

#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 */