1 /* This file is part of the coreboot project. */
2 /* SPDX-License-Identifier: GPL-2.0-only */
4 #ifndef _SOC_QUALCOMM_MMU_COMMON_H_
5 #define _SOC_QUALCOMM_MMU_COMMON_H_
7 #include <commonlib/region.h>
8 #include <soc/symbols_common.h>
10 #define CACHED_RAM (MA_MEM | MA_S | MA_RW)
11 #define UNCACHED_RAM (MA_MEM | MA_S | MA_RW | MA_MEM_NC)
12 #define DEV_MEM (MA_DEV | MA_S | MA_RW)
14 static struct region
* const ddr_region
= (struct region
*)_ddr_information
;
16 void soc_mmu_dram_config_post_dram_init(void);
17 void qc_mmu_dram_config_post_dram_init(void *ddr_base
, size_t ddr_size
);
19 #endif /* _SOC_QUALCOMM_MMU_COMMON_H_ */