Commit e62e9d77 authored by Yuri Tikhonov's avatar Yuri Tikhonov

RT106081: U-Boot STM32F7. eNVM: fix-up sectors layout

Signed-off-by: default avatarYuri Tikhonov <yur@emcraft.com>
parent 5f2e6e33
......@@ -38,14 +38,20 @@
* This array defines the layout of the Embedded Flash on the STM32 chips
*/
static u32 flash_bsize[] = {
#if defined(CONFIG_SYS_STM32F7)
[0 ... 3] = 32 * 1024,
[4] = 128 * 1024,
[5 ... 7] = 256 * 1024,
#else
[0 ... 3] = 16 * 1024,
[4] = 64 * 1024,
[5 ... 11] = 128 * 1024
#if defined(CONFIG_SYS_STM32F43X)
# if defined(CONFIG_SYS_STM32F43X)
,
[12 ... 15] = 16 * 1024,
[16] = 64 * 1024,
[17 ... 23] = 128 * 1024
# endif
#endif
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment