xref: /rk3399_ARM-atf/plat/st/stm32mp1/include/stm32mp1_private.h (revision e3a234971abb2402cbf376eca6fcb657a7709fae)
1 /*
2  * Copyright (c) 2015-2022, ARM Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef STM32MP1_PRIVATE_H
8 #define STM32MP1_PRIVATE_H
9 
10 #include <stdint.h>
11 
12 void configure_mmu(void);
13 
14 void stm32mp1_arch_security_setup(void);
15 void stm32mp1_security_setup(void);
16 
17 void stm32mp1_gic_pcpu_init(void);
18 void stm32mp1_gic_init(void);
19 
20 void stm32mp1_syscfg_init(void);
21 void stm32mp1_syscfg_enable_io_compensation_start(void);
22 void stm32mp1_syscfg_enable_io_compensation_finish(void);
23 void stm32mp1_syscfg_disable_io_compensation(void);
24 
25 void stm32mp1_deconfigure_uart_pins(void);
26 
27 #if STM32MP_USE_STM32IMAGE
28 uint32_t stm32mp_get_ddr_ns_size(void);
29 #endif /* STM32MP_USE_STM32IMAGE */
30 
31 void stm32mp1_init_scmi_server(void);
32 #endif /* STM32MP1_PRIVATE_H */
33