Vikas Manocha | 1b51c93 | 2016-02-11 15:47:20 -0800 | [diff] [blame] | 1 | /* |
Patrice Chotard | 789ee0e | 2017-10-23 09:53:58 +0200 | [diff] [blame] | 2 | * Copyright (C) 2016, STMicroelectronics - All Rights Reserved |
| 3 | * Author(s): Vikas Manocha, <vikas.manocha@st.com> for STMicroelectronics. |
Vikas Manocha | 1b51c93 | 2016-02-11 15:47:20 -0800 | [diff] [blame] | 4 | * |
| 5 | * SPDX-License-Identifier: GPL-2.0+ |
| 6 | */ |
| 7 | |
| 8 | #ifndef _ASM_ARCH_HARDWARE_H |
| 9 | #define _ASM_ARCH_HARDWARE_H |
| 10 | |
Patrice Chotard | edd95ac | 2018-02-09 13:09:55 +0100 | [diff] [blame] | 11 | #include <asm/arch-stm32/stm32f.h> |
Vikas Manocha | 1b51c93 | 2016-02-11 15:47:20 -0800 | [diff] [blame] | 12 | |
Vikas Manocha | 4940802 | 2016-03-09 15:18:14 -0800 | [diff] [blame] | 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 | |
Vikas Manocha | 1b51c93 | 2016-02-11 15:47:20 -0800 | [diff] [blame] | 19 | #endif /* _ASM_ARCH_HARDWARE_H */ |