Skip to content
Commit f205b571 authored by Dawid Niedzwiecki's avatar Dawid Niedzwiecki Committed by Benjamin Cabé
Browse files

drivers: flash: stm32h7: use a correct register to program RDP



The RDP level is set with the FLASH_OPTSR_PRG register and read with the
FLASH_OPTSR_CUR register, not FLASH_OPTCR.

Fix that to realy change and read RDP.

Signed-off-by: default avatarDawid Niedzwiecki <dawidn@google.com>
parent a88e429f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment