Skip to content
Commit 7ea40b54 authored by David Bauer's avatar David Bauer Committed by Vignesh Raghavendra
Browse files

mtd: spi-nor: enable locking support for MX25L12805D



Macronix MX25L12805D supports locking with 4 block
protection bits in its status register. Add the corresponding
flag in order to clear these bits when unloking the flash.

Otherwise, the flash might not be writable depending on the state
left by the bootloader.

Tested-on: Ubiquiti UniFi AC Lite (ath79)

Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
Signed-off-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: default avatarMichael Walle <michael@walle.cc>
parent d406f49b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment