summaryrefslogtreecommitdiff
path: root/src/soc/intel/skylake/memmap.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-07-25 08:49:03 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-08-07 05:38:14 +0000
commit3dddf4fb41848c2b816c0ca1470a58f3418028f3 (patch)
treec9641180ed3d5fdb3b7102b88ba18e96c389b4da /src/soc/intel/skylake/memmap.c
parente29b80429fcc35f2e615f1eed8180027c5bc3da5 (diff)
soc/intel: Obsolete mmap_region_granularity()
Change-Id: I471598d3ce61b70e35adba3bd983f5d823ba3816 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34696 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/soc/intel/skylake/memmap.c')
-rw-r--r--src/soc/intel/skylake/memmap.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/soc/intel/skylake/memmap.c b/src/soc/intel/skylake/memmap.c
index 1058300197..7a39b6748a 100644
--- a/src/soc/intel/skylake/memmap.c
+++ b/src/soc/intel/skylake/memmap.c
@@ -30,17 +30,6 @@
#include "chip.h"
-size_t mmap_region_granularity(void)
-{
- if (CONFIG(HAVE_SMI_HANDLER))
- /* Align to TSEG size when SMM is in use */
- if (CONFIG_SMM_TSEG_SIZE != 0)
- return CONFIG_SMM_TSEG_SIZE;
-
- /* Make it 8MiB by default. */
- return 8*MiB;
-}
-
void smm_region(void **start, size_t *size)
{
*start = (void *)sa_get_tseg_base();