Skip to content
Snippets Groups Projects
Commit a58986ca authored by Simon Glass's avatar Simon Glass
Browse files

sf: Add a method to obtain the block-protect setting


It is useful to obtain the block-protect setting of the SPI flash, so we
know whether it is fully open or (perhaps partially) write-protected. Add
a method for this. Update the sandbox driver to process this operation and
add a test.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent f9d49f92
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment