diff --git a/src/soc/qualcomm/common/include/soc/symbols_common.h b/src/soc/qualcomm/common/include/soc/symbols_common.h index 6d6ff38635..ee2d3510b6 100644 --- a/src/soc/qualcomm/common/include/soc/symbols_common.h +++ b/src/soc/qualcomm/common/include/soc/symbols_common.h @@ -11,6 +11,8 @@ DECLARE_REGION(ddr_information); DECLARE_REGION(ssram) DECLARE_REGION(bsram) DECLARE_REGION(dram_aop) +DECLARE_OPTIONAL_REGION(dram_aop_cmd_db) +DECLARE_REGION(dram_aop_config) DECLARE_REGION(dram_soc) DECLARE_REGION(dcb) DECLARE_REGION(dtb) diff --git a/src/soc/qualcomm/common/mmu.c b/src/soc/qualcomm/common/mmu.c index b589d966a9..480b7a9fea 100644 --- a/src/soc/qualcomm/common/mmu.c +++ b/src/soc/qualcomm/common/mmu.c @@ -76,4 +76,7 @@ void qc_mmu_dram_config_post_dram_init(size_t ddr_size) if (_preram_dma_coherent != _postram_dma_coherent) mmu_config_range((void *)_postram_dma_coherent, REGION_SIZE(postram_dma_coherent), UNCACHED_RAM); + + if (REGION_SIZE(dram_aop_cmd_db) != 0) + mmu_config_range((void *)_dram_aop_cmd_db, REGION_SIZE(dram_aop_cmd_db), UNCACHED_RAM); }