mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-26 06:50:10 +00:00

This function gets the DDR size from DT, and withdraws (if defined) the sizes of secure DDR and shared memory areas. This function also checks DT values fits the default DDR range. This non-secure memory is available for BL33 and non-secure OS. Change-Id: I162ae5e990a0f9b6b7d07e539de029f1d61a391b Signed-off-by: Yann Gautier <yann.gautier@st.com>
25 lines
587 B
C
25 lines
587 B
C
/*
|
|
* Copyright (c) 2015-2020, ARM Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef STM32MP1_PRIVATE_H
|
|
#define STM32MP1_PRIVATE_H
|
|
|
|
#include <stdint.h>
|
|
|
|
void configure_mmu(void);
|
|
|
|
void stm32mp1_arch_security_setup(void);
|
|
void stm32mp1_security_setup(void);
|
|
|
|
void stm32mp1_gic_pcpu_init(void);
|
|
void stm32mp1_gic_init(void);
|
|
|
|
void stm32mp1_syscfg_init(void);
|
|
void stm32mp1_syscfg_enable_io_compensation(void);
|
|
void stm32mp1_syscfg_disable_io_compensation(void);
|
|
|
|
uint32_t stm32mp_get_ddr_ns_size(void);
|
|
#endif /* STM32MP1_PRIVATE_H */
|