Skip to content
Commit f3a56dda authored by Jan Kiszka's avatar Jan Kiszka Committed by Jagan Teki
Browse files

sf: Query write-protection status before operating the flash



Do not suggest successful operation if a flash area to be changed is
actually locked, thus will not execute the request. Rather report an
error and bail out. That's way more user-friendly than asking them to
manually check for this case.

Derived from original patch by Chao Zeng.

Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
Acked-by: default avatarJagan Teki <jagan@amarulasolutions.com>
parent 513c6071
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment