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>
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user