mtd/nand/ubi: assortment of alignment fixes
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Tue, 18 Aug 2015 11:06:37 +0000 (13:06 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 28 Aug 2015 16:33:17 +0000 (12:33 -0400)
commit4519668b29bb8422ceca8e7ca9a35d5af0afe959
treecf6361ac4f48d13dc677978ae8778e63bedba402
parent285e266b417103378c1cf1e9aea47b34731c45d0
mtd/nand/ubi: assortment of alignment fixes

Various U-Boot adoptions/extensions to MTD/NAND/UBI did not take buffer
alignment into account which led to failures of the following form:

ERROR: v7_dcache_inval_range - start address is not aligned - 0x1f7f0108
ERROR: v7_dcache_inval_range - stop address is not aligned - 0x1f7f1108

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Scott Wood <scottwood@freescale.com>
[trini: Add __UBOOT__ hunk to lib/zlib/zutil.c due to malloc.h in common.h]
Signed-off-by: Tom Rini <trini@konsulko.com>
common/cmd_ubi.c
drivers/mtd/nand/nand_util.c
fs/ubifs/super.c
fs/ubifs/ubifs.c
include/common.h
lib/gzip.c
lib/zlib/zutil.c