2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2016-02-11 23:47:20 +00:00
|
|
|
/*
|
2017-10-23 07:53:58 +00:00
|
|
|
* Copyright (C) 2016, STMicroelectronics - All Rights Reserved
|
|
|
|
* Author(s): Vikas Manocha, <vikas.manocha@st.com> for STMicroelectronics.
|
2016-02-11 23:47:20 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _ASM_ARCH_HARDWARE_H
|
|
|
|
#define _ASM_ARCH_HARDWARE_H
|
|
|
|
|
2018-02-09 12:09:55 +00:00
|
|
|
#include <asm/arch-stm32/stm32f.h>
|
2016-02-11 23:47:20 +00:00
|
|
|
|
2016-03-09 23:18:14 +00:00
|
|
|
static const u32 sect_sz_kb[CONFIG_SYS_MAX_FLASH_SECT] = {
|
2022-09-20 16:04:35 +00:00
|
|
|
[0 ... 3] = 32 * 1024,
|
|
|
|
[4] = 128 * 1024,
|
|
|
|
[5 ... CONFIG_SYS_MAX_FLASH_SECT - 1] = 256 * 1024
|
2016-03-09 23:18:14 +00:00
|
|
|
};
|
|
|
|
|
2016-02-11 23:47:20 +00:00
|
|
|
#endif /* _ASM_ARCH_HARDWARE_H */
|