summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/sdm845/mmu.c
diff options
context:
space:
mode:
authorT Michael Turney <mturney@codeaurora.org>2018-04-09 12:30:34 -0700
committerMartin Roth <martinroth@google.com>2019-07-11 15:08:38 +0000
commitff423f749a5c74f6a4dda59b996fcbed72c94e94 (patch)
tree76d36d09916c6adfb27780e459d04e14ddd54125 /src/soc/qualcomm/sdm845/mmu.c
parent125b48d1d59b4732c0580e982d925f41fefaf2cd (diff)
sdm845: Add AOP firmware support
TEST=build & run Change-Id: I9845c8638e4b905de5d6985dc9f1fddd8b1a8942 Signed-off-by: T Michael Turney <mturney@codeaurora.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/25210 Reviewed-by: Julius Werner <jwerner@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/qualcomm/sdm845/mmu.c')
-rw-r--r--src/soc/qualcomm/sdm845/mmu.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/soc/qualcomm/sdm845/mmu.c b/src/soc/qualcomm/sdm845/mmu.c
index ec5fa55de2..e63bfed690 100644
--- a/src/soc/qualcomm/sdm845/mmu.c
+++ b/src/soc/qualcomm/sdm845/mmu.c
@@ -32,3 +32,8 @@ void sdm845_mmu_init(void)
mmu_enable();
}
+
+void soc_mmu_dram_config_post_dram_init(void)
+{
+ mmu_config_range((void *)_aop, REGION_SIZE(aop), CACHED_RAM);
+}