Home
last modified time | relevance | path

Searched hist:"65 bc3ece84ef6340cbd80eec10ab9be3426e1149" (Results 1 – 1 of 1) sorted by relevance

/linux/arch/powerpc/boot/
H A Dmain.cdiff 65bc3ece84ef6340cbd80eec10ab9be3426e1149 Wed Oct 12 21:00:43 CEST 2016 Heiner Kallweit <hkallweit1@gmail.com> powerpc/boot: Fix boot on systems with uncompressed kernel image

This commit broke boot on systems with an uncompressed kernel image,
namely systems using a cuImage. On such systems the compressed boot
image (boot wrapper, uncompressed kernel image, ..) is decompressed
by u-boot already, therefore the boot wrapper code sees an
uncompressed kernel image.

The old decompression code silently assumed an uncompressed kernel
image if it found no valid gzip signature, whilst the new code
bailed out in this case.

Fix this by re-introducing such a fallback if no valid compressed
image is found.

Fixes: 1b7898ee276b ("Use the pre-boot decompression API")
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>