summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8196/soc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/mediatek/mt8196/soc.c')
-rw-r--r--src/soc/mediatek/mt8196/soc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8196/soc.c b/src/soc/mediatek/mt8196/soc.c
index d3aeb5a72c..8aca5d6e5d 100644
--- a/src/soc/mediatek/mt8196/soc.c
+++ b/src/soc/mediatek/mt8196/soc.c
@@ -2,6 +2,7 @@
#include <device/device.h>
#include <device/pci.h>
+#include <soc/dramc_info.h>
#include <soc/emi.h>
#include <soc/mmu_operations.h>
#include <soc/pcie.h>
@@ -13,6 +14,8 @@ void bootmem_platform_add_ranges(void)
if (CONFIG(ARM64_BL31_OPTEE_WITH_SMC))
bootmem_add_range((uint64_t)_resv_mem_optee,
REGION_SIZE(resv_mem_optee), BM_MEM_RESERVED);
+
+ reserve_buffer_for_dramc();
}
static void soc_read_resources(struct device *dev)