From: Alban Bedel <albeu@xxxxxxx>[...]
Normally compressed images have to be loaded at a different address to
allow the decompressor to run. This add an option to let vmlinuz copy
itself to the correct address from the normal vmlinux address.
Signed-off-by: Alban Bedel <albeu@xxxxxxx>
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index b3c5bde..8074fc5 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -2961,6 +2961,14 @@ choice
bool "Extend builtin kernel arguments with bootloader arguments"
endchoice
+config ZBOOT_VMLINUZ_AT_VMLINUX_LOAD_ADDRESS
+ bool "Load compressed images at the same address as uncompressed"
+ depends on SYS_SUPPORTS_ZBOOT
+ help
+ vmlinux and vmlinuz normally have different load addresses, with
+ this option vmlinuz expect to be loaded at the same address as