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 Change-Id: I8e8abe197ab483a26622f02666cc234a1544e642 Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit a58986ca8b53d8c7a441397082f84edc7f47d19f) |
||
|---|---|---|
| .. | ||
| bitops.h | ||
| byteorder.h | ||
| cache.h | ||
| clk.h | ||
| config.h | ||
| eth-raw-os.h | ||
| eth.h | ||
| getopt.h | ||
| global_data.h | ||
| gpio.h | ||
| io.h | ||
| linkage.h | ||
| mbox.h | ||
| posix_types.h | ||
| power-domain.h | ||
| processor.h | ||
| ptrace.h | ||
| reset.h | ||
| rtc.h | ||
| sdl.h | ||
| sections.h | ||
| sound.h | ||
| spi.h | ||
| spl.h | ||
| state.h | ||
| string.h | ||
| system.h | ||
| test.h | ||
| types.h | ||
| u-boot-sandbox.h | ||
| u-boot.h | ||
| unaligned.h | ||