]> git.sur5r.net Git - u-boot/commit
gunzip: cache-align write buffer memory
authorClemens Gruber <clemens.gruber@pqgruber.com>
Mon, 29 Aug 2016 15:10:36 +0000 (17:10 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 7 Oct 2016 00:57:33 +0000 (20:57 -0400)
commitd025021e981fc2c06e95a3512f81f799f45d1f9c
tree1749799ea5c037f9fc2595436645e75d3e8fd3ae
parent4dc34be4301e9f9ddca2d22a8ddb1161ee40f2d1
gunzip: cache-align write buffer memory

When using gzwrite to eMMC on an i.MX6Q board, the following warning
occurs repeatedly:
CACHE: Misaligned operation at range [4fd633184fe63318]

This patch cache-aligns the memory allocation for the gzwrite writebuf,
therefore avoiding the misaligned dcache flush and the warning from
check_cache_range.

Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
Reviewed-by: Eric Nelson <eric@nelint.com>
Reviewed-by: Stefan Agner <stefan.agner@toradex.com>
lib/gunzip.c