Skip to content

Commit 34275ac

Browse files
pcercueitsbogend
authored andcommitted
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 79876cc ("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: 79876cc ("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>
1 parent 6ddcba9 commit 34275ac

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

arch/mips/Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -339,14 +339,12 @@ drivers-$(CONFIG_PM) += arch/mips/power/
339339
boot-y := vmlinux.bin
340340
boot-y += vmlinux.ecoff
341341
boot-y += vmlinux.srec
342-
ifeq ($(shell expr $(load-y) \< 0xffffffff80000000 2> /dev/null), 0)
343342
boot-y += uImage
344343
boot-y += uImage.bin
345344
boot-y += uImage.bz2
346345
boot-y += uImage.gz
347346
boot-y += uImage.lzma
348347
boot-y += uImage.lzo
349-
endif
350348
boot-y += vmlinux.itb
351349
boot-y += vmlinux.gz.itb
352350
boot-y += vmlinux.bz2.itb
@@ -358,9 +356,7 @@ bootz-y := vmlinuz
358356
bootz-y += vmlinuz.bin
359357
bootz-y += vmlinuz.ecoff
360358
bootz-y += vmlinuz.srec
361-
ifeq ($(shell expr $(zload-y) \< 0xffffffff80000000 2> /dev/null), 0)
362359
bootz-y += uzImage.bin
363-
endif
364360
bootz-y += vmlinuz.itb
365361

366362
#

0 commit comments

Comments
 (0)