projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
arm: socfpga: cyclone5_socdk: Enable qspiload console command
[oweals/u-boot.git]
/
lib
/
gzip.c
diff --git
a/lib/gzip.c
b/lib/gzip.c
index ff37d4f31be4ba479a0c6e0d1b2bdacd0f32db26..2c49e4e9ffa0c748abc972fa14263c7047259aad 100644
(file)
--- a/
lib/gzip.c
+++ b/
lib/gzip.c
@@
-10,6
+10,7
@@
#include <command.h>
#include <image.h>
#include <malloc.h>
#include <command.h>
#include <image.h>
#include <malloc.h>
+#include <memalign.h>
#include <u-boot/zlib.h>
#include "zlib/zutil.h"
#include <u-boot/zlib.h>
#include "zlib/zutil.h"
@@
-25,7
+26,7
@@
static void *zalloc(void *x, unsigned items, unsigned size)
size *= items;
size = (size + ZALLOC_ALIGNMENT - 1) & ~(ZALLOC_ALIGNMENT - 1);
size *= items;
size = (size + ZALLOC_ALIGNMENT - 1) & ~(ZALLOC_ALIGNMENT - 1);
- p = malloc
(size);
+ p = malloc
_cache_aligned
(size);
return (p);
}
return (p);
}