]> git.sur5r.net Git - u-boot/commit
nand: Try to align the default buffers
authorSimon Glass <sjg@chromium.org>
Sun, 29 Jul 2012 20:53:25 +0000 (20:53 +0000)
committerTom Warren <twarren@nvidia.com>
Fri, 7 Sep 2012 20:54:30 +0000 (13:54 -0700)
commitb572595ee95829ab62e354c55a8fbd0f4db23935
tree18ce59921123f5b98f47e4845bef96f191593cd4
parent057df193b40d31799d41d43bc832a972f658bfe4
nand: Try to align the default buffers

The NAND layer needs to use cache-aligned buffers by default. Towards this
goal. align the default buffers and their members according to the minimum
DMA alignment defined for the architecture.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Acked-by: Scott Wood <scottwood@freescale.com>
drivers/mtd/nand/nand_base.c
include/linux/mtd/nand.h