]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/boot: Use the pre-boot decompression API
authorOliver O'Halloran <oohall@gmail.com>
Thu, 22 Sep 2016 06:54:31 +0000 (16:54 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 28 Sep 2016 04:31:43 +0000 (14:31 +1000)
commit53967339fa12df4a1754f746d8f01fa3efd7769f
tree1c41ed5b37a1214816eb732c7d75cd4326e82deb
parentb3e69ffdd86da640accd95833b80c3cb1d2dca9e
powerpc/boot: Use the pre-boot decompression API

Currently the powerpc boot wrapper has its own wrapper around zlib to
handle decompressing gzipped kernels. The kernel decompressor library
functions now provide a generic interface that can be used in the
pre-boot environment. This allows boot wrappers to easily support
different compression algorithms. This patch converts the wrapper to use
this new API, but does not add support for using new algorithms.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/boot/Makefile
arch/powerpc/boot/decompress.c [new file with mode: 0644]
arch/powerpc/boot/main.c
arch/powerpc/boot/ops.h