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) |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| adc.c | ||
| blk.c | ||
| bus.c | ||
| clk.c | ||
| cmd_dm.c | ||
| core.c | ||
| eth.c | ||
| gpio.c | ||
| i2c.c | ||
| led.c | ||
| mailbox.c | ||
| mmc.c | ||
| pci.c | ||
| phy.c | ||
| pmic.c | ||
| power-domain.c | ||
| pwm.c | ||
| ram.c | ||
| regmap.c | ||
| regulator.c | ||
| remoteproc.c | ||
| reset.c | ||
| rtc.c | ||
| sf.c | ||
| spi.c | ||
| spmi.c | ||
| syscon.c | ||
| sysreset.c | ||
| test-driver.c | ||
| test-fdt.c | ||
| test-main.c | ||
| test-uclass.c | ||
| timer.c | ||
| usb.c | ||
| video.c | ||
| wdt.c | ||