Skip to content
Commit ea1245eb authored by Rory Piper's avatar Rory Piper Committed by Benjamin Cabé
Browse files

drivers: flash_stm32h7: Fix REAL_FLASH_SIZE_KB size



For devices other than the stm32h745/747/755/757 that use
dual-core cortex-M4/cortex-M7, do not multiply flash
controller size by 2. Single-core stm32h7x devices define
their flash-controllers dtsi as a single area, not two banks.
Use the presence of the bank2-flash-size prop to determine if
this is a dual-core stm3h7x or not.

Signed-off-by: default avatarRory Piper <rory.piper@signal-fire.com>
parent 071b571b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment