Yann Gautier | 4b0c72a | 2018-07-16 10:54:09 +0200 | [diff] [blame] | 1 | /* |
Yann Gautier | 038bff2 | 2019-01-17 19:17:47 +0100 | [diff] [blame] | 2 | * Copyright (c) 2015-2019, ARM Limited and Contributors. All rights reserved. |
Yann Gautier | 4b0c72a | 2018-07-16 10:54:09 +0200 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 7 | #ifndef STM32MP1_PRIVATE_H |
| 8 | #define STM32MP1_PRIVATE_H |
| 9 | |
| 10 | #include <stdint.h> |
Yann Gautier | 4b0c72a | 2018-07-16 10:54:09 +0200 | [diff] [blame] | 11 | |
| 12 | void stm32mp1_io_setup(void); |
| 13 | void configure_mmu(void); |
| 14 | |
Yann Gautier | caf575b | 2018-07-24 17:18:19 +0200 | [diff] [blame] | 15 | void stm32mp1_arch_security_setup(void); |
Yann Gautier | 9d135e4 | 2018-07-16 19:36:06 +0200 | [diff] [blame] | 16 | void stm32mp1_security_setup(void); |
Yann Gautier | caf575b | 2018-07-24 17:18:19 +0200 | [diff] [blame] | 17 | |
Yann Gautier | 4b0c72a | 2018-07-16 10:54:09 +0200 | [diff] [blame] | 18 | void stm32mp1_save_boot_ctx_address(uintptr_t address); |
| 19 | uintptr_t stm32mp1_get_boot_ctx_address(void); |
| 20 | |
Yann Gautier | 9d135e4 | 2018-07-16 19:36:06 +0200 | [diff] [blame] | 21 | void stm32mp1_gic_pcpu_init(void); |
| 22 | void stm32mp1_gic_init(void); |
| 23 | |
Yann Gautier | 038bff2 | 2019-01-17 19:17:47 +0100 | [diff] [blame] | 24 | uintptr_t stm32_get_gpio_bank_base(unsigned int bank); |
| 25 | unsigned long stm32_get_gpio_bank_clock(unsigned int bank); |
| 26 | uint32_t stm32_get_gpio_bank_offset(unsigned int bank); |
| 27 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 28 | #endif /* STM32MP1_PRIVATE_H */ |