summaryrefslogtreecommitdiffstats
path: root/spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'spi.c')
-rw-r--r--spi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/spi.c b/spi.c
index 9a31abf..2b64463 100644
--- a/spi.c
+++ b/spi.c
@@ -217,7 +217,6 @@ int spi_chip_write_256(struct flashchip *flash, uint8_t *buf)
{
int ret;
- spi_disable_blockprotect();
msg_pinfo("Erasing flash before programming... ");
if (erase_flash(flash)) {
msg_perr("ERASE FAILED!\n");
OpenPOWER on IntegriCloud