Angel Pons | 8a3453f | 2020-04-02 23:48:19 +0200 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
2 | /* This file is part of the coreboot project. */ | ||||
Arthur Heymans | cf5af24 | 2019-11-04 21:24:28 +0100 | [diff] [blame] | 3 | |
4 | #include <cbmem.h> | ||||
5 | #include <fsp/util.h> | ||||
6 | |||||
7 | void *cbmem_top_chipset(void) | ||||
8 | { | ||||
9 | struct range_entry tolum; | ||||
10 | |||||
11 | fsp_find_bootloader_tolum(&tolum); | ||||
12 | return (void *)(uintptr_t)range_entry_end(&tolum); | ||||
13 | } |