[PATCH] mtd: cfi: Allow per-mapping CFI device endianness

Artem Bityutskiy dedekind1 at gmail.com
Thu Nov 17 17:01:27 EST 2011


On Mon, 2011-11-14 at 18:44 -0600, Aaron Sierra wrote:
> This patch allows each CFI device map to use its own endianness. The
> globally defined CFI endianness (CONFIG_MTD_CFI_NOSWAP,
> CONFIG_MTD_CFI_BE_BYTE_SWAP or CONFIG_MTD_CFI_LE_BYTE_SWAP) becomes the
> default value which can be overridden by a driver for a particular device.
> 
> Signed-off-by: Aaron Sierra <asierra at xes-inc.com>

Would be nice to get someone's tested-by from the list to make sure it
does not break existing setups. Anyone?

But anyway, looks sane, so I take it to my l2-mtd-2.6.git, thanks!

Artem.




More information about the linux-mtd mailing list