android_kernel_oneplus_msm8998/arch/mips/jz4740
Paul Cercueil 2ca7b66d82 MIPS: jz4740: Bump zload address
[ Upstream commit c6ea7e9747318e5a6774995f4f8e3e0f7c0fa8ba ]

Having the zload address at 0x8060.0000 means the size of the
uncompressed kernel cannot be bigger than around 6 MiB, as it is
deflated at address 0x8001.0000.

This limit is too small; a kernel with some built-in drivers and things
like debugfs enabled will already be over 6 MiB in size, and so will
fail to extract properly.

To fix this, we bump the zload address from 0x8060.0000 to 0x8100.0000.

This is fine, as all the boards featuring Ingenic JZ SoCs have at least
32 MiB of RAM, and use u-boot or compatible bootloaders which won't
hardcode the load address but read it from the uImage's header.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/19787/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-26 08:35:06 +02:00
..
board-qi_lb60.c MIPS: JZ4740: Remove unused linux/leds_pwm.h include 2015-10-26 09:49:44 +01:00
gpio.c MIPS: Fix the build on jz4740 after removing the custom gpio.h 2015-10-01 09:06:26 +02:00
Kconfig MIPS: ingenic: Initial MIPS Creator CI20 support 2015-06-21 21:53:28 +02:00
Makefile MIPS: ingenic: Initial JZ4780 support 2015-06-21 21:53:26 +02:00
Platform MIPS: jz4740: Bump zload address 2018-09-26 08:35:06 +02:00
platform.c MIPS: JZ4740: use Ingenic SoC UART driver 2015-06-21 21:53:26 +02:00
pm.c MIPS: JZ4740: remove clock.h 2015-06-21 21:53:21 +02:00
prom.c MIPS: JZ4740: use Ingenic SoC UART driver 2015-06-21 21:53:26 +02:00
reset.c MIPS: JZ4740: replace use of jz4740_clock_bdata 2015-06-21 21:53:12 +02:00
reset.h
setup.c MIPS: ingenic: Initial JZ4780 support 2015-06-21 21:53:26 +02:00
time.c MIPS: jz4740: Migrate to new 'set-state' interface 2015-09-03 12:07:51 +02:00
timer.c