summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/sdm845/mmu.c
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2020-11-10 16:02:16 -0800
committerJulius Werner <jwerner@chromium.org>2020-11-12 01:43:14 +0000
commit2b5bdaea630ecd35e22473816cd4000dd8f8916e (patch)
treebaeb8346c68d463515f67ca0ffc252722fa6da7a /src/soc/qualcomm/sdm845/mmu.c
parent9c50462fd7ce12cb9b3ef94f5bef39dcfa24ca6c (diff)
Delete soc/qualcomm/sdm845
Work on this SoC was abandoned and never finished. It's not really usable in its current state, so let's get rid of it. Signed-off-by: Julius Werner <jwerner@chromium.org> Change-Id: I23453e3e47ac336ab61687004470e5e79172cafe Reviewed-on: https://review.coreboot.org/c/coreboot/+/47428 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/qualcomm/sdm845/mmu.c')
-rw-r--r--src/soc/qualcomm/sdm845/mmu.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/soc/qualcomm/sdm845/mmu.c b/src/soc/qualcomm/sdm845/mmu.c
deleted file mode 100644
index 7af4f95675..0000000000
--- a/src/soc/qualcomm/sdm845/mmu.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#include <symbols.h>
-#include <arch/mmu.h>
-#include <arch/cache.h>
-#include <soc/mmu.h>
-#include <soc/mmu_common.h>
-#include <soc/symbols.h>
-
-void sdm845_mmu_init(void)
-{
- mmu_init();
-
- mmu_config_range((void *)(4 * KiB), ((4UL * GiB) - (4 * KiB)), DEV_MEM);
- mmu_config_range((void *)_ssram, REGION_SIZE(ssram), CACHED_RAM);
- mmu_config_range((void *)_bsram, REGION_SIZE(bsram), CACHED_RAM);
- mmu_config_range((void *)_dma_coherent, REGION_SIZE(dma_coherent),
- UNCACHED_RAM);
-
- mmu_enable();
-}
-
-void soc_mmu_dram_config_post_dram_init(void)
-{
- mmu_config_range((void *)_aop, REGION_SIZE(aop), CACHED_RAM);
-}