commit | 36eee8c8b6aae8240c1802a33b9be9ffe4baed00 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Nov 06 15:21:41 2018 -0700 |
committer | Simon Glass <sjg@chromium.org> | Tue Nov 20 19:14:22 2018 -0700 |
tree | c9ec3c59244371d8ad9992a2ba332a7b50d33950 | |
parent | 90fcfb1534fd7600a4193b9414f3fb6817445792 [diff] |
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: Simon Glass <sjg@chromium.org>