Skip to content
Commit 080b7d89 authored by This contributor prefers not to receive mails's avatar This contributor prefers not to receive mails Committed by Michael Trimarchi
Browse files

mtd: rawnand: fsl_elbc: Remove NAND_NO_SUBPAGE_WRITE flag



Subpage write support for freescale eLBC NAND controller driver is
implemented in U-Boot and was fixes in the commit d3963721 ("nand: Sync
with Linux v4.1").

So remove NAND_NO_SUBPAGE_WRITE flag from the fsl_elbc_nand.c driver. This
partially revert commit cb04c772 ("nand/fsl: add NAND_NO_SUBPAGE_WRITE
to eLBC and IFC drivers"), only eLBC driver part.

With this change U-Boot with default settings can read from NAND UBIFS
image created on Linux with Linux default settings. Prior this change
U-Boot was unable to read from NAND UBIFS images created with Linux default
settings due to differnet UBI geometry.

Linux kernel fsl_elbc_nand.c driver also does not set NAND_NO_SUBPAGE_WRITE
flag and has implemented subpage write support.

Fixes: cb04c772 ("nand/fsl: add NAND_NO_SUBPAGE_WRITE to eLBC and IFC drivers")
Fixes: d3963721 ("nand: Sync with Linux v4.1")
Signed-off-by: default avatarPali Rohár <pali@kernel.org>
Reviewed-by: default avatarMichael Trimarchi <michael@amarulasolutions.com>
Reviewed-by: default avatarDario Binacchi <dario.binacchi@amarulasolutions.com>
Acked-By: default avatarMichael <Trimarchi&lt;michael@amarulasolutions.com>
Signed-off-by: default avatarDario Binacchi <dario.binacchi@amarulasolutions.com>
parent 1a29486e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment