stm32mp1_private.h 716 Bytes
Newer Older
1
/*
2
 * Copyright (c) 2015-2019, ARM Limited and Contributors. All rights reserved.
3
4
5
6
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

7
8
9
10
#ifndef STM32MP1_PRIVATE_H
#define STM32MP1_PRIVATE_H

#include <stdint.h>
11
12
13
14

void stm32mp1_io_setup(void);
void configure_mmu(void);

15
void stm32mp1_arch_security_setup(void);
16
void stm32mp1_security_setup(void);
17

18
19
20
void stm32mp1_save_boot_ctx_address(uintptr_t address);
uintptr_t stm32mp1_get_boot_ctx_address(void);

21
22
23
void stm32mp1_gic_pcpu_init(void);
void stm32mp1_gic_init(void);

24
25
26
27
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);

28
#endif /* STM32MP1_PRIVATE_H */