blob: 2eec16f57750a05b2564814fc9fe8e920e932596 [file] [log] [blame]
Yann Gautier4b0c72a2018-07-16 10:54:09 +02001/*
Lionel Debieve1dc5e2e2020-09-27 21:13:53 +02002 * Copyright (c) 2015-2021, ARM Limited and Contributors. All rights reserved.
Yann Gautier4b0c72a2018-07-16 10:54:09 +02003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00007#ifndef STM32MP1_PRIVATE_H
8#define STM32MP1_PRIVATE_H
9
10#include <stdint.h>
Yann Gautier4b0c72a2018-07-16 10:54:09 +020011
Yann Gautier4b0c72a2018-07-16 10:54:09 +020012void configure_mmu(void);
13
Yann Gautiercaf575b2018-07-24 17:18:19 +020014void stm32mp1_arch_security_setup(void);
Yann Gautier9d135e42018-07-16 19:36:06 +020015void stm32mp1_security_setup(void);
Yann Gautiercaf575b2018-07-24 17:18:19 +020016
Yann Gautier9d135e42018-07-16 19:36:06 +020017void stm32mp1_gic_pcpu_init(void);
18void stm32mp1_gic_init(void);
19
Yann Gautier3edc7c32019-05-20 19:17:08 +020020void stm32mp1_syscfg_init(void);
21void stm32mp1_syscfg_enable_io_compensation(void);
22void stm32mp1_syscfg_disable_io_compensation(void);
23
Yann Gautiercd16df32021-06-04 14:04:05 +020024void stm32mp1_deconfigure_uart_pins(void);
25
Lionel Debieve1dc5e2e2020-09-27 21:13:53 +020026#if STM32MP_USE_STM32IMAGE
Yann Gautier8f268c82020-02-26 13:39:44 +010027uint32_t stm32mp_get_ddr_ns_size(void);
Lionel Debieve1dc5e2e2020-09-27 21:13:53 +020028#endif /* STM32MP_USE_STM32IMAGE */
Etienne Carriere34f0e932020-07-16 17:36:18 +020029
30void stm32mp1_init_scmi_server(void);
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000031#endif /* STM32MP1_PRIVATE_H */