u-boot/lib/zlib
Simon Glass 6e295186c7 Move malloc_cache_aligned() to its own header
At present malloc.h is included everywhere since it recently was added to
common.h in this commit:

   4519668 mtd/nand/ubi: assortment of alignment fixes

This seems wasteful and unnecessary. We have been trying to trim down
common.h and put separate functions into separate header files and that
change goes in the opposite direction.

Move malloc_cache_aligned() to a new header so that this can be avoided.
The header would perhaps be better named as alignmem.h but it needs to be
included after common.h and people might be confused by this. With the name
memalign.h it fits nicely after malloc() in most cases.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2015-09-11 17:15:16 -04:00
..
adler32.c lib/zlib: sparse fixes 2012-11-04 11:00:36 -07:00
deflate.c lib: zlib: remove the limitation for cannot using 0 as start 2012-09-29 07:26:08 -07:00
deflate.h lib: zlib: import deflate source file from 1.2.5 2012-09-29 07:26:08 -07:00
inffast.c lib/zlib: sparse fixes 2012-11-04 11:00:36 -07:00
inffast.h zlib: split up to match original source tree 2011-04-30 20:21:45 +02:00
inffixed.h zlib: split up to match original source tree 2011-04-30 20:21:45 +02:00
inflate.c lib/zlib: sparse fixes 2012-11-04 11:00:36 -07:00
inflate.h zlib: split up to match original source tree 2011-04-30 20:21:45 +02:00
inftrees.c lib/zlib: sparse fixes 2012-11-04 11:00:36 -07:00
inftrees.h zlib: split up to match original source tree 2011-04-30 20:21:45 +02:00
Makefile lib: descend into sub directories only when it is necessary 2013-11-17 14:11:30 -05:00
trees.c lib: zlib: include deflate into zlib build 2012-09-29 07:26:08 -07:00
trees.h lib: zlib: import trees file from 1.2.5 2012-09-29 07:26:08 -07:00
zlib.c lib: zlib: include deflate into zlib build 2012-09-29 07:26:08 -07:00
zlib.h Replace <compiler.h> with <linux/compiler.h> 2014-12-08 09:35:46 -05:00
zutil.c Move malloc_cache_aligned() to its own header 2015-09-11 17:15:16 -04:00
zutil.h lib: zlib: include deflate into zlib build 2012-09-29 07:26:08 -07:00