summaryrefslogtreecommitdiff
path: root/src/drivers/intel/fsp2_0/cbmem.c
blob: 0efb462b402e5594a0231dcd6a065a11b13c3475 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: GPL-2.0-only */

#include <cbmem.h>
#include <fsp/util.h>

void *cbmem_top_chipset(void)
{
	struct range_entry tolum;

	fsp_find_bootloader_tolum(&tolum);
	return (void *)(uintptr_t)range_entry_end(&tolum);
}