Commit 5dbc889d authored by David Jander's avatar David Jander Committed by Miquel Raynal
Browse files

mtd: mchp48l640: make WEL behaviour configurable



The 48L640 resets the WEL bit (the Write Enable Latch bit in the status
register) to zero on the completion of write operations. In preparation
to support chips behaving differently, introduce .auto_disable_wel
capability, and, if it's missing, explicitly reset the WEL bit after
writes.

Signed-off-by: default avatarDavid Jander <david@protonic.nl>
Reviewed-by: default avatarHeiko Schocher <hs@denx.de>
Signed-off-by: default avatarJonas Rebmann <jre@pengutronix.de>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
parent b3c78286
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment