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>
Showing
- common/cmd_ubi.c 1 addition, 1 deletioncommon/cmd_ubi.c
- drivers/mtd/nand/nand_util.c 1 addition, 1 deletiondrivers/mtd/nand/nand_util.c
- fs/ubifs/super.c 3 additions, 2 deletionsfs/ubifs/super.c
- fs/ubifs/ubifs.c 2 additions, 2 deletionsfs/ubifs/ubifs.c
- include/common.h 9 additions, 0 deletionsinclude/common.h
- lib/gzip.c 1 addition, 1 deletionlib/gzip.c
- lib/zlib/zutil.c 2 additions, 0 deletionslib/zlib/zutil.c
Loading
Please register or sign in to comment