diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2016-10-12 21:00:43 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-10-19 20:35:34 +1100 |
commit | 65bc3ece84ef6340cbd80eec10ab9be3426e1149 (patch) | |
tree | 23c9b04f54af70d94dc3ec6ddd80fd719c05c220 /drivers/misc/cxl/cxl.h | |
parent | d2cf909cda5f8c5609cb7ed6cda816c3e15528c7 (diff) |
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>
Diffstat (limited to 'drivers/misc/cxl/cxl.h')
0 files changed, 0 insertions, 0 deletions