aboutsummaryrefslogtreecommitdiffstats
path: root/sfdp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sfdp.c')
-rw-r--r--sfdp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfdp.c b/sfdp.c
index b5494177..8fea4c9e 100644
--- a/sfdp.c
+++ b/sfdp.c
@@ -179,11 +179,11 @@ static int sfdp_fill_flash(struct flashchip *chip, uint8_t *buf, uint16_t len)
if (tmp32 & (1 << 2)) {
msg_cdbg2("at least 64 B.\n");
chip->page_size = 64;
- chip->write = spi_chip_write_256;
+ chip->write = SPI_CHIP_WRITE256;
} else {
msg_cdbg2("1 B only.\n");
chip->page_size = 256;
- chip->write = spi_chip_write_1;
+ chip->write = SPI_CHIP_WRITE1;
}
if ((tmp32 & 0x3) == 0x1) {