xref: /rk3399_ARM-atf/plat/st/stm32mp1/include/stm32mp1_private.h (revision 1b8898eb32c3872a34fc59f4216736f23af0c6ea)
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 uint32_t stm32mp1_syscfg_get_chip_version(void);
25 uint32_t stm32mp1_syscfg_get_chip_dev_id(void);
26 
27 void stm32mp1_deconfigure_uart_pins(void);
28 
29 #if STM32MP_USE_STM32IMAGE
30 uint32_t stm32mp_get_ddr_ns_size(void);
31 #endif /* STM32MP_USE_STM32IMAGE */
32 
33 void stm32mp1_init_scmi_server(void);
34 #endif /* STM32MP1_PRIVATE_H */
35