defaultenv: Align defaultenv array
The default environment buffer is an unsigned char array and thus
may be unaligned. Some decompression algorithms expect the buffer
to be sufficiently aligned for u32 accesses. We make this sure by
copying the default env to a temporary buffer. Instead of doing this
just add a __aligned(4) to the default environment.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 0a2a8f7 commit 5d22cb385695dc17cb226ba63db3c2a253a56bc6
@Sascha Hauer Sascha Hauer authored on 20 Feb 2014
Showing 2 changed files
View
common/Makefile
View
common/startup.c