summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStephen Warren <[email protected]>2015-04-14 08:59:00 -0600
committerScott Wood <[email protected]>2015-05-21 14:24:36 -0500
commit5e856fa8bec49b86e680626be772dd6b6aa3e5df (patch)
tree636e2b09ec7c347869dbc1e39501add33deba55c /scripts
parent3238639d40732fe78fd62ae5e080465552e882fc (diff)
nand: fix buffer alignment in new verification feature
On systems with caches enabled, NAND I/O may need to flush/invalidate the cache during read/write operations. For this to work correctly, all buffers must be cache-aligned. Fix nand_verify*() to allocate aligned buffers. This prevents cache alignment warnings from being spewed when using U-Boot to write an updated version of itself to flash on NVIDIA Tegra Seaboard (after perturbation of stack/data layout in current u-boot-dm/next branch). I have validatd (executed) nand_verify(), but I don't think I've executed nand_verify_page_oob(); testing of that would be useful. Cc: Peter Tyser <[email protected]> Cc: Heiko Schocher <[email protected]> Cc: Scott Wood <[email protected]> Fixes: 59b5a2ad83df ("nand: Add verification functions") Signed-off-by: Stephen Warren <[email protected]> Reviewed-by: Simon Glass <[email protected]> Acked-by: Scott Wood <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions