mb/topton/adl: Enable TPM2 (Intel fTPM/PTT)
[coreboot2.git] / src / soc / ucb / riscv / cbmem.c
blob5c423a05bbc26428190221463f3baac02b6ad4fd
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <cbmem.h>
4 #include <symbols.h>
5 #include <ramdetect.h>
7 uintptr_t cbmem_top_chipset(void)
9 return (uintptr_t)_dram + (probe_ramsize((uintptr_t)_dram, CONFIG_DRAM_SIZE_MB) * MiB);