]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
mtd/nand/ubi: assortment of alignment fixes
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Tue, 18 Aug 2015 11:06:37 +0000 (13:06 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 09:29:50 +0000 (11:29 +0200)
commit5d6da36b9c623c448c998e58a7ad03abed5dc2b0
tree71e9f991db09eeba7c2ea6f2dc9f7fb7288678c7
parentbe065a50336ee2d3258ab25bd2c90fdd56855351
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