diff options
Diffstat (limited to 'arch/h8300/boot/compressed/Makefile')
-rw-r--r-- | arch/h8300/boot/compressed/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/h8300/boot/compressed/Makefile b/arch/h8300/boot/compressed/Makefile index 71aac82a8ae0..d6189e057ed3 100644 --- a/arch/h8300/boot/compressed/Makefile +++ b/arch/h8300/boot/compressed/Makefile | |||
@@ -15,10 +15,10 @@ OBJECTS = $(obj)/head.o $(obj)/misc.o | |||
15 | # in order to suppress error message. | 15 | # in order to suppress error message. |
16 | # | 16 | # |
17 | CONFIG_MEMORY_START ?= 0x00400000 | 17 | CONFIG_MEMORY_START ?= 0x00400000 |
18 | CONFIG_BOOT_LINK_OFFSET ?= 0x00400000 | 18 | CONFIG_BOOT_LINK_OFFSET ?= 0x00140000 |
19 | IMAGE_OFFSET := $(shell printf "0x%08x" $$[$(CONFIG_MEMORY_START)+$(CONFIG_BOOT_LINK_OFFSET)]) | 19 | IMAGE_OFFSET := $(shell printf "0x%08x" $$[$(CONFIG_MEMORY_START)+$(CONFIG_BOOT_LINK_OFFSET)]) |
20 | 20 | ||
21 | LDFLAGS_vmlinux := -T $(obj)/vmlinux.lds | 21 | LDFLAGS_vmlinux := -Ttext $(IMAGE_OFFSET) -estartup $(obj)/vmlinux.lds |
22 | 22 | ||
23 | $(obj)/vmlinux: $(OBJECTS) $(obj)/piggy.o FORCE | 23 | $(obj)/vmlinux: $(OBJECTS) $(obj)/piggy.o FORCE |
24 | $(call if_changed,ld) | 24 | $(call if_changed,ld) |