aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-09-27 08:53:51 -0400
committerTom Rini <trini@konsulko.com>2022-09-27 08:53:51 -0400
commit01c88e3dcd667281cf3aa6f6b47f90900177aff9 (patch)
tree6bbb45f8380069622e4d67e55b7b90044d183a9f /arch/arm/include
parent55ccdee3155c6cc30eeee846879d06aba6e3fabe (diff)
parent762d410e0db94c41b8d7f1ec85e47f7474655ad8 (diff)
downloadu-boot-01c88e3dcd667281cf3aa6f6b47f90900177aff9.zip
u-boot-01c88e3dcd667281cf3aa6f6b47f90900177aff9.tar.gz
u-boot-01c88e3dcd667281cf3aa6f6b47f90900177aff9.tar.bz2
Merge tag 'u-boot-stm32-20220927' of https://source.denx.de/u-boot/custodians/u-boot-stm into next
- Increase SYS_MALLOC_F_LEN for STM32 MCU's board - SPL fixes for STM32F7 MCUs - Device tree alignement with kernelv6.0-rc4 for MCU's board - Device tree alignement with kernelv6.0-rc3 for MPU's board - Update DDR node for STM32MP15 - Cleanup config file for STM32MP1 - Update for cmd_stm32key command - Fix compatible string to add partitions for STM32MP1 - Update for stm32programmer tool
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/arch-stm32f7/stm32.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/include/asm/arch-stm32f7/stm32.h b/arch/arm/include/asm/arch-stm32f7/stm32.h
index 3451e74..57db839 100644
--- a/arch/arm/include/asm/arch-stm32f7/stm32.h
+++ b/arch/arm/include/asm/arch-stm32f7/stm32.h
@@ -10,9 +10,9 @@
#include <asm/arch-stm32/stm32f.h>
static const u32 sect_sz_kb[CONFIG_SYS_MAX_FLASH_SECT] = {
- [0 ... 3] = 32 * 1024,
- [4] = 128 * 1024,
- [5 ... 7] = 256 * 1024
+ [0 ... 3] = 32 * 1024,
+ [4] = 128 * 1024,
+ [5 ... CONFIG_SYS_MAX_FLASH_SECT - 1] = 256 * 1024
};
#endif /* _ASM_ARCH_HARDWARE_H */