diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2018-01-16 17:21:44 -0500 |
---|---|---|
committer | James Hogan <jhogan@kernel.org> | 2018-01-24 06:20:29 -0500 |
commit | 6507831f0e005fee670c0f01f42fd5ee8ea39181 (patch) | |
tree | 7751c431b4620f63857aecfcb9975c75d28abad1 | |
parent | cc4804448c321a82309756be68a5bac7cb1740d0 (diff) |
MIPS: bcm47xx: enable ZBOOT support
Enable ZBOOT support. The WRT54GL router's bootloader limits kernel
size to 3 MB with the normal load address, which is a bit challenging
vmlinux size with modern Linux. A compressed kernel allows booting
much bigger kernels.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/18492/
Signed-off-by: James Hogan <jhogan@kernel.org>
-rw-r--r-- | arch/mips/Kconfig | 1 | ||||
-rw-r--r-- | arch/mips/bcm47xx/Platform | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 883db58fe8fe..f83f51fc2f82 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -253,6 +253,7 @@ config BCM47XX | |||
253 | select SYS_SUPPORTS_32BIT_KERNEL | 253 | select SYS_SUPPORTS_32BIT_KERNEL |
254 | select SYS_SUPPORTS_LITTLE_ENDIAN | 254 | select SYS_SUPPORTS_LITTLE_ENDIAN |
255 | select SYS_SUPPORTS_MIPS16 | 255 | select SYS_SUPPORTS_MIPS16 |
256 | select SYS_SUPPORTS_ZBOOT | ||
256 | select SYS_HAS_EARLY_PRINTK | 257 | select SYS_HAS_EARLY_PRINTK |
257 | select USE_GENERIC_EARLY_PRINTK_8250 | 258 | select USE_GENERIC_EARLY_PRINTK_8250 |
258 | select GPIOLIB | 259 | select GPIOLIB |
diff --git a/arch/mips/bcm47xx/Platform b/arch/mips/bcm47xx/Platform index 874b7ca4cd11..70783b75fd9d 100644 --- a/arch/mips/bcm47xx/Platform +++ b/arch/mips/bcm47xx/Platform | |||
@@ -5,3 +5,4 @@ platform-$(CONFIG_BCM47XX) += bcm47xx/ | |||
5 | cflags-$(CONFIG_BCM47XX) += \ | 5 | cflags-$(CONFIG_BCM47XX) += \ |
6 | -I$(srctree)/arch/mips/include/asm/mach-bcm47xx | 6 | -I$(srctree)/arch/mips/include/asm/mach-bcm47xx |
7 | load-$(CONFIG_BCM47XX) := 0xffffffff80001000 | 7 | load-$(CONFIG_BCM47XX) := 0xffffffff80001000 |
8 | zload-$(CONFIG_BCM47XX) += 0xffffffff80400000 | ||