[Top] [All Lists]

Re: [PATCH] MIPS: Enable vmlinuz for JZ4740

To: Maarten ter Huurne <>
Subject: Re: [PATCH] MIPS: Enable vmlinuz for JZ4740
From: Sergei Shtylyov <>
Date: Fri, 30 Mar 2012 02:28:32 +0400
Cc: Ralf Baechle <>,, Lluís Batlle i Rossell <>, Lars-Peter Clausen <>
In-reply-to: <>
References: <>
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20120327 Thunderbird/11.0.1

On 29-03-2012 20:09, Maarten ter Huurne wrote:

From: Lluís Batlle i Rossell<>

This patch adds support for building a compressed kernel for the JZ4740

Signed-off-by: Lars-Peter Clausen<>
Signed-off-by: Maarten ter Huurne<>

diff --git a/arch/mips/boot/compressed/Makefile 
index 5042d51..71d89cb 100644
--- a/arch/mips/boot/compressed/Makefile
+++ b/arch/mips/boot/compressed/Makefile
@@ -58,8 +58,12 @@ $(obj)/piggy.o: $(obj)/dummy.o $(obj)/vmlinux.bin.z FORCE
  # Calculate the load address of the compressed kernel image
  hostprogs-y := calc_vmlinuz_load_addr

+ifeq ($(CONFIG_MACH_JZ4740),y)

   Spaces around :=, please. And why this should be out of order case?

  VMLINUZ_LOAD_ADDRESS = $(shell $(obj)/calc_vmlinuz_load_addr \
                $(obj)/vmlinux.bin $(VMLINUX_LOAD_ADDRESS))

  vmlinuzobjs-y += $(obj)/piggy.o

WBR, Sergei

<Prev in Thread] Current Thread [Next in Thread>