Re: [U-Boot] [PATCH V2] nand: fix buffer alignment in new verification feature

2015-04-29 Thread Stephen Warren
On 04/14/2015 08:59 AM, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com 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

Re: [U-Boot] [PATCH V2] nand: fix buffer alignment in new verification feature

2015-04-29 Thread Scott Wood
On Wed, 2015-04-29 at 15:20 -0600, Stephen Warren wrote: On 04/14/2015 08:59 AM, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com 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

Re: [U-Boot] [PATCH V2] nand: fix buffer alignment in new verification feature

2015-04-15 Thread Simon Glass
On 14 April 2015 at 08:59, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com 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

[U-Boot] [PATCH V2] nand: fix buffer alignment in new verification feature

2015-04-14 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com 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