coreboot-kgpe-d16/payloads/libpayload/liblzma
Gabe Black 00e5da6f25 libpayload: Don't do unaligned accesses during LZMA decompression
Use memcpy to access a uint32_t that's inherently unaligned due to the layout
of the LZMA header format.

Built and booted on Daisy and saw a data abort go away. Built and booted
into developer mode on Link and verified that bitmaps were
decompressed/displayed correctly.

Change-Id: Id3ae746c04d23bcb0345cb71797bfa219479cc8f
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: http://review.coreboot.org/2670
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
2013-03-13 23:42:09 +01:00
..
Makefile.inc libpayload: Add liblzma, libcbfs 2011-08-04 08:11:21 +02:00
lzma.c libpayload: Don't do unaligned accesses during LZMA decompression 2013-03-13 23:42:09 +01:00
lzmadecode.c libpayload: Add liblzma, libcbfs 2011-08-04 08:11:21 +02:00
lzmadecode.h libpayload: Add liblzma, libcbfs 2011-08-04 08:11:21 +02:00