mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 17:44:19 +00:00

BL31 runs from SRAM which is a non-coherent memory on synquacer. So enable MMU with SRAM memory marked as Non-Cacheable and mark page tables kept on SRAM as Non-Cacheable via XLAT_TABLE_NC flag. Also add page tables for Device address space. Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
28 lines
693 B
C
28 lines
693 B
C
/*
|
|
* Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef __SQ_COMMON_H__
|
|
#define __SQ_COMMON_H__
|
|
|
|
#include <sys/types.h>
|
|
#include <xlat_tables_v2.h>
|
|
|
|
void plat_sq_interconnect_init(void);
|
|
void plat_sq_interconnect_enter_coherency(void);
|
|
void plat_sq_interconnect_exit_coherency(void);
|
|
|
|
unsigned int sq_calc_core_pos(u_register_t mpidr);
|
|
|
|
void sq_gic_driver_init(void);
|
|
void sq_gic_init(void);
|
|
void sq_gic_cpuif_enable(void);
|
|
void sq_gic_cpuif_disable(void);
|
|
void sq_gic_pcpu_init(void);
|
|
|
|
void sq_mmap_setup(uintptr_t total_base, size_t total_size,
|
|
const struct mmap_region *mmap);
|
|
|
|
#endif /* __SQ_COMMON_H__ */
|