Skip to content
Snippets Groups Projects
Commit 2a83c95f authored by Stefan Agner's avatar Stefan Agner Committed by Stefano Babic
Browse files

mtd: nand: mxs: fix cache alignment for cache lines >32


Currently the command buffer gets allocated with a size of 32 bytes.
This causes warning messages on systems with cache lines bigger than
32 bytes:
CACHE: Misaligned operation at range [9df17a00, 9df17a20]

Define command buffer to be at least 32 bytes, but more if cache
line is bigger.

Signed-off-by: default avatarStefan Agner <stefan.agner@toradex.com>
Reviewed-by: default avatarStefano Babic <sbabic@denx.de>
parent 0a22c7f0
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment