1*83d290c5STom Rini /* SPDX-License-Identifier: GPL-2.0+ */ 22536f18bSPatrice Chotard /* 32536f18bSPatrice Chotard * Copyright (C) 2018, STMicroelectronics - All Rights Reserved 42536f18bSPatrice Chotard * Author(s): Patrice Chotard, <patrice.chotard@st.com> for STMicroelectronics. 52536f18bSPatrice Chotard */ 62536f18bSPatrice Chotard 72536f18bSPatrice Chotard #ifndef _ASM_ARCH_STM32F_H 82536f18bSPatrice Chotard #define _ASM_ARCH_STM32F_H 92536f18bSPatrice Chotard 102536f18bSPatrice Chotard #define STM32_PERIPH_BASE 0x40000000UL 112536f18bSPatrice Chotard 122536f18bSPatrice Chotard #define STM32_APB2_PERIPH_BASE (STM32_PERIPH_BASE + 0x00010000) 132536f18bSPatrice Chotard #define STM32_AHB1_PERIPH_BASE (STM32_PERIPH_BASE + 0x00020000) 142536f18bSPatrice Chotard 152536f18bSPatrice Chotard #define STM32_SYSCFG_BASE (STM32_APB2_PERIPH_BASE + 0x3800) 162536f18bSPatrice Chotard #define STM32_FLASH_CNTL_BASE (STM32_AHB1_PERIPH_BASE + 0x3C00) 172536f18bSPatrice Chotard 182536f18bSPatrice Chotard void stm32_flash_latency_cfg(int latency); 192536f18bSPatrice Chotard 202536f18bSPatrice Chotard #endif /* _ASM_ARCH_STM32F_H */ 212536f18bSPatrice Chotard 22