Skip to content
Commit 603c3af8 authored by George Beckstein's avatar George Beckstein Committed by Carles Cufí
Browse files

drivers: flash : stm32: STM32L4P5xx fix page calculation from offset



This fix adds the STM32L4P5xx to the list of devices that have an
offset-to-page shift calculation of 12 bits. Previously, the driver
would only shift the offset by 11 bits when calculating the page to
erase.

This would prevent the driver from erasing the correct page.

Signed-off-by: default avatarGeorge Beckstein <george.beckstein@ampaworks.com>
parent 0ed8f10d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment