xref: /OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-stm32f7/stm32.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /*
2  * (C) Copyright 2016
3  * Vikas Manocha, STMicroelectronics, <vikas.manocha@st.com>
4  *
5  * SPDX-License-Identifier:	GPL-2.0+
6  */
7 
8 #ifndef _ASM_ARCH_HARDWARE_H
9 #define _ASM_ARCH_HARDWARE_H
10 
11 #include <asm/arch-stm32/stm32f.h>
12 
13 static const u32 sect_sz_kb[CONFIG_SYS_MAX_FLASH_SECT] = {
14 	[0 ... 3] =	32 * 1024,
15 	[4] =		128 * 1024,
16 	[5 ... 7] =	256 * 1024
17 };
18 
19 #endif /* _ASM_ARCH_HARDWARE_H */
20