diff options
Diffstat (limited to 'tests/chip_wp.c')
-rw-r--r-- | tests/chip_wp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/chip_wp.c b/tests/chip_wp.c index 9607a96ed..2686f4463 100644 --- a/tests/chip_wp.c +++ b/tests/chip_wp.c @@ -67,7 +67,7 @@ static const struct flashchip chip_W25Q128_V = { .tested = TEST_OK_PREW, .read = SPI_CHIP_READ, .write = SPI_CHIP_WRITE256, - .unlock = spi_disable_blockprotect, + .unlock = SPI_DISABLE_BLOCKPROTECT, .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_WRSR_EXT2 | FEATURE_WRSR2 | FEATURE_WRSR3, .block_erasers = { |