Re: [PATCH] MIPS: Enable vmlinuz for JZ4740

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

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

From: Lluís Batlle i Rossell<viric@xxxxxxxxxx>

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

Signed-off-by: Lars-Peter Clausen<lars@xxxxxxxxxx>
Signed-off-by: Maarten ter Huurne<maarten@xxxxxxxxxxxxxx>
[...]

diff --git a/arch/mips/boot/compressed/Makefile b/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)
+VMLINUZ_LOAD_ADDRESS:=0x80600000

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

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

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

WBR, Sergei



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux