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 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html