mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-24 05:54:08 +00:00

Those pins are configured by ROM code, for serial boot use cases. Their configs are reset if the boot is done on UART, but not on USB. This should then be done in TF-A. This has to be done after clock init, and before console is configured. Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: I29a9694e25fcf1665360dd71f73937f769c43b52
31 lines
733 B
C
31 lines
733 B
C
/*
|
|
* Copyright (c) 2015-2021, 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);
|
|
|
|
void stm32mp1_deconfigure_uart_pins(void);
|
|
|
|
#if STM32MP_USE_STM32IMAGE
|
|
uint32_t stm32mp_get_ddr_ns_size(void);
|
|
#endif /* STM32MP_USE_STM32IMAGE */
|
|
|
|
void stm32mp1_init_scmi_server(void);
|
|
#endif /* STM32MP1_PRIVATE_H */
|