summaryrefslogtreecommitdiff
path: root/kexec/arch/arm/kexec-uImage-arm.c
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-11-19 00:17:22 +0100
committerSimon Horman <horms@verge.net.au>2009-11-30 16:06:14 +1100
commit4c2d9b93150d36d15bf75b050ed97cabd9a94774 (patch)
tree32d6b5e8180ebc0b88c3df1bdce8cf825e97e3bc /kexec/arch/arm/kexec-uImage-arm.c
parentd61381a70a57a01b87afee90c976675f047d447d (diff)
add support for loading lzma compressed kernels
This patch allows one to load a lzma compressed kernel using kexec -l. As I wanted the lzma code to be very similar to the existing zlib slurp_decompress I took lzread and associated routines from the cpio lzma support. Tested on my x86 laptop using the following commands: lzma e bzImage bzImage.lzma kexec -l bzImage.lzma Having lzma support is particularly useful on some embedded systems on which we have the kernel already lzma compressed and available on a mtd partition. Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/arm/kexec-uImage-arm.c')
0 files changed, 0 insertions, 0 deletions