Skip to content

Add optional mtd nand alignment for subpage reading

Charles Manning linux-mtd linux-omap 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mtd: Add nand_base feature to align subpage read buffersdrivers/mtd/nand/nand_base.c include/linux/mtd/nand.h+24 -32 replies
2/2omap2 nand: Align subpage reads.drivers/mtd/nand/omap2.c+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Add optional mtd nand alignment for subpage reading

Subpage reading already provides a certain degree of alignment in that it aligns the reads to 16-bits if the bus is 16-bits wide.

For some situations this is not enough. For eample, the OMAP2 prefetch engine only works with u32 aligned buffers and read sizes.

This patch set adds a mechanism to plug in an alignment function and provides an example using the omap2 nand driver.

Comments welcome

-- Charles