Skip to content
Commit d2d02897 authored by Murali Karicheri's avatar Murali Karicheri Committed by Fabio Baltieri
Browse files

drivers: flash : stm32h7: Fix the offset for get_sector()



The offset is wrong when the second bank is used by M4 as the
offset is relative to the base which is 0. So add the least
significant 6 nibbles from the CONFIG_FLASH_BASE_ADDRESS to
find the sector.

Signed-off-by: default avatarMurali Karicheri <murali.karicheri@sandc.com>
parent 188fe4d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment