blob: 57db839e8dc2aab5cb8d15a2abd8daf0092eecee [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Vikas Manocha1b51c932016-02-11 15:47:20 -08002/*
Patrice Chotard789ee0e2017-10-23 09:53:58 +02003 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved
4 * Author(s): Vikas Manocha, <vikas.manocha@st.com> for STMicroelectronics.
Vikas Manocha1b51c932016-02-11 15:47:20 -08005 */
6
7#ifndef _ASM_ARCH_HARDWARE_H
8#define _ASM_ARCH_HARDWARE_H
9
Patrice Chotardedd95ac2018-02-09 13:09:55 +010010#include <asm/arch-stm32/stm32f.h>
Vikas Manocha1b51c932016-02-11 15:47:20 -080011
Vikas Manocha49408022016-03-09 15:18:14 -080012static const u32 sect_sz_kb[CONFIG_SYS_MAX_FLASH_SECT] = {
Patrice Chotardf3cf5b12022-09-20 18:04:35 +020013 [0 ... 3] = 32 * 1024,
14 [4] = 128 * 1024,
15 [5 ... CONFIG_SYS_MAX_FLASH_SECT - 1] = 256 * 1024
Vikas Manocha49408022016-03-09 15:18:14 -080016};
17
Vikas Manocha1b51c932016-02-11 15:47:20 -080018#endif /* _ASM_ARCH_HARDWARE_H */