summaryrefslogtreecommitdiffstats
path: root/tests/chip_wp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/chip_wp.c')
-rw-r--r--tests/chip_wp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/chip_wp.c b/tests/chip_wp.c
index e4eff9907..3c9be4099 100644
--- a/tests/chip_wp.c
+++ b/tests/chip_wp.c
@@ -65,7 +65,7 @@ static const struct flashchip chip_W25Q128_V = {
.total_size = 16 * 1024,
.tested = TEST_OK_PREW,
.read = spi_chip_read,
- .write = spi_chip_write_256,
+ .write = SPI_CHIP_WRITE256,
.unlock = spi_disable_blockprotect,
.feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_WRSR_EXT2 | FEATURE_WRSR2 | FEATURE_WRSR3,
.block_erasers =