MIPS: bcm47xx: enable ZBOOT support

"Linux Kernel Mailing List" <[email protected]>
Newsgroups gmane.linux.kernel.commits.head
Message-ID <[email protected]>
Web:        https://git.kernel.org/torvalds/c/6507831f0e005fee670c0f01f42fd5ee8ea39181
Commit:     6507831f0e005fee670c0f01f42fd5ee8ea39181
Parent:     cc4804448c321a82309756be68a5bac7cb1740d0
Refname:    refs/heads/master
Author:     Aaro Koskinen <[email protected]>
AuthorDate: Wed Jan 17 00:21:44 2018 +0200
Committer:  James Hogan <[email protected]>
CommitDate: Wed Jan 24 11:20:29 2018 +0000

    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 <[email protected]>
    Cc: Ralf Baechle <[email protected]>
    Cc: Hauke Mehrtens <[email protected]>
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/18492/
    Signed-off-by: James Hogan <[email protected]>
---
 arch/mips/Kconfig          | 1 +
 arch/mips/bcm47xx/Platform | 1 +
 2 files changed, 2 insertions(+)

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
 	select SYS_SUPPORTS_32BIT_KERNEL
 	select SYS_SUPPORTS_LITTLE_ENDIAN
 	select SYS_SUPPORTS_MIPS16
+	select SYS_SUPPORTS_ZBOOT
 	select SYS_HAS_EARLY_PRINTK
 	select USE_GENERIC_EARLY_PRINTK_8250
 	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/
 cflags-$(CONFIG_BCM47XX)	+=					\
 		-I$(srctree)/arch/mips/include/asm/mach-bcm47xx
 load-$(CONFIG_BCM47XX)		:= 0xffffffff80001000
+zload-$(CONFIG_BCM47XX)		+= 0xffffffff80400000
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.