MIPS: new Kconfig option ZBOOT_LOAD_ADDRESS
authorYunQiang Su <yunqiang.su@cipunited.com>
Wed, 22 Dec 2021 13:43:46 +0000 (13:43 +0000)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sun, 2 Jan 2022 13:17:30 +0000 (14:17 +0100)
commit79876cc1d7b801b28511440e5aec1b31d8df7a73
treed1005b5f938ecf86a493b8aa9030f50e4c77de5f
parent31b2f3dc851c65fee288612432c4fc956f1a264e
MIPS: new Kconfig option ZBOOT_LOAD_ADDRESS

If this option is not 0x0, it will be used for zboot load address.
Otherwise, the result of calc_vmlinuz_load_addr will be used.

The zload-y value for generic are also removed then, as the current
value breaks booting on qemu -M boston.
The result of calc_vmlinuz_load_addr works well for most of cases.

The default value of bcm47xx keeps as it currently.

Signed-off-by: YunQiang Su <yunqiang.su@cipunited.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/Kconfig
arch/mips/bcm47xx/Platform
arch/mips/boot/compressed/Makefile
arch/mips/generic/Platform