repo.or.cz
/
coreboot2.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
mb/topton/adl: Enable TPM2 (Intel fTPM/PTT)
[coreboot2.git]
/
src
/
soc
/
ucb
/
riscv
/
cbmem.c
blob
5c423a05bbc26428190221463f3baac02b6ad4fd
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <cbmem.h>
4
#include <symbols.h>
5
#include <ramdetect.h>
6
7
uintptr_t
cbmem_top_chipset
(
void
)
8
{
9
return
(
uintptr_t
)
_dram
+ (
probe_ramsize
((
uintptr_t
)
_dram
,
CONFIG_DRAM_SIZE_MB
) *
MiB
);
10
}