Re: [U-Boot] [PATCH v2 6/7] mmc: dcache: allocate cache aligned buffers for ext_csd

2011-10-06 Thread Wolfgang Denk
Dear Anton Staaf, In message <1317763491-7274-7-git-send-email-robot...@chromium.org> you wrote: > Currently the mmc_change_freq and mmc_startup functions allocates > buffers on the stack that are passed down to the MMC device driver. > These buffers could be unaligned to the L1 dcache line size.

[U-Boot] [PATCH v2 6/7] mmc: dcache: allocate cache aligned buffers for ext_csd

2011-10-04 Thread Anton Staaf
Currently the mmc_change_freq and mmc_startup functions allocates buffers on the stack that are passed down to the MMC device driver. These buffers could be unaligned to the L1 dcache line size. This causes problems when using DMA and with caches enabled. This patch correctly cache alignes the bu