summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/common/mmu.c
blob: 76ce0b661211b3c5237d69a497202ace9590674d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* This file is part of the coreboot project. */
/* SPDX-License-Identifier: GPL-2.0-only */

#include <arch/mmu.h>
#include <soc/mmu.h>
#include <soc/mmu_common.h>

__weak void soc_mmu_dram_config_post_dram_init(void) { /* no-op */ }

void qc_mmu_dram_config_post_dram_init(void *ddr_base, size_t ddr_size)
{
	mmu_config_range((void *)ddr_base, ddr_size, CACHED_RAM);
	soc_mmu_dram_config_post_dram_init();
}