Skip to content

Commit

Permalink
MIPS: JZ4740: A320: Force vmlinuz load address on Dingoo A320
Browse files Browse the repository at this point in the history
The Dingux dual boot loader seems to require a fixed load address.
  • Loading branch information
mthuurne committed Mar 16, 2011
1 parent e3ed1d3 commit a30c7a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/mips/boot/compressed/Makefile
Expand Up @@ -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_JZ4740_A320),y)
VMLINUZ_LOAD_ADDRESS = 0x80600000
else
VMLINUZ_LOAD_ADDRESS = $(shell $(obj)/calc_vmlinuz_load_addr \
$(obj)/vmlinux.bin $(VMLINUX_LOAD_ADDRESS))
endif

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

Expand Down

0 comments on commit a30c7a1

Please sign in to comment.