Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mips: Always permit to build u-boot images

The platforms where the kernel should be loaded above 0x8000.0000 do not
support loading u-boot images, that doesn't mean that we shouldn't be
able to generate them.

Additionally, since commit 79876cc1d7b8 ("MIPS: new Kconfig option
ZBOOT_LOAD_ADDRESS"), the $(zload-y) variable was no longer hardcoded,
which made it impossible to use the uzImage.bin target.

Fixes: 79876cc1d7b8 ("MIPS: new Kconfig option ZBOOT_LOAD_ADDRESS")
Cc: <stable@vger.kernel.org>
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>

authored by

Paul Cercueil and committed by
Thomas Bogendoerfer
34275ac2 6ddcba9d

-4
-4
arch/mips/Makefile
··· 339 339 boot-y := vmlinux.bin 340 340 boot-y += vmlinux.ecoff 341 341 boot-y += vmlinux.srec 342 - ifeq ($(shell expr $(load-y) \< 0xffffffff80000000 2> /dev/null), 0) 343 342 boot-y += uImage 344 343 boot-y += uImage.bin 345 344 boot-y += uImage.bz2 346 345 boot-y += uImage.gz 347 346 boot-y += uImage.lzma 348 347 boot-y += uImage.lzo 349 - endif 350 348 boot-y += vmlinux.itb 351 349 boot-y += vmlinux.gz.itb 352 350 boot-y += vmlinux.bz2.itb ··· 356 358 bootz-y += vmlinuz.bin 357 359 bootz-y += vmlinuz.ecoff 358 360 bootz-y += vmlinuz.srec 359 - ifeq ($(shell expr $(zload-y) \< 0xffffffff80000000 2> /dev/null), 0) 360 361 bootz-y += uzImage.bin 361 - endif 362 362 bootz-y += vmlinuz.itb 363 363 364 364 #