mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-26 14:55:16 +00:00

Change fdt_check_status function to fdt_get_status. Update GPIO defines. Move some functions in gpio driver, instead of dt helper file. Add GPIO bank helper functions. Use only one status field in dt_node_info structure including both status and secure status. Change-Id: I34f93408dd4aac16ae722f564bc3f7d6ae978cf4 Signed-off-by: Yann Gautier <yann.gautier@st.com> Signed-off-by: Etienne Carriere <etienne.carriere@st.com> Signed-off-by: Lionel Debieve <lionel.debieve@st.com> Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>
28 lines
716 B
C
28 lines
716 B
C
/*
|
|
* Copyright (c) 2015-2019, 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 stm32mp1_io_setup(void);
|
|
void configure_mmu(void);
|
|
|
|
void stm32mp1_arch_security_setup(void);
|
|
void stm32mp1_security_setup(void);
|
|
|
|
void stm32mp1_save_boot_ctx_address(uintptr_t address);
|
|
uintptr_t stm32mp1_get_boot_ctx_address(void);
|
|
|
|
void stm32mp1_gic_pcpu_init(void);
|
|
void stm32mp1_gic_init(void);
|
|
|
|
uintptr_t stm32_get_gpio_bank_base(unsigned int bank);
|
|
unsigned long stm32_get_gpio_bank_clock(unsigned int bank);
|
|
uint32_t stm32_get_gpio_bank_offset(unsigned int bank);
|
|
|
|
#endif /* STM32MP1_PRIVATE_H */
|