diff options
Diffstat (limited to 'arch/sh/boot/Makefile')
-rw-r--r-- | arch/sh/boot/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/sh/boot/Makefile b/arch/sh/boot/Makefile index 89b408620dcb..5b54965eef98 100644 --- a/arch/sh/boot/Makefile +++ b/arch/sh/boot/Makefile | |||
@@ -18,9 +18,10 @@ CONFIG_PAGE_OFFSET ?= 0x80000000 | |||
18 | CONFIG_MEMORY_START ?= 0x0c000000 | 18 | CONFIG_MEMORY_START ?= 0x0c000000 |
19 | CONFIG_BOOT_LINK_OFFSET ?= 0x00800000 | 19 | CONFIG_BOOT_LINK_OFFSET ?= 0x00800000 |
20 | CONFIG_ZERO_PAGE_OFFSET ?= 0x00001000 | 20 | CONFIG_ZERO_PAGE_OFFSET ?= 0x00001000 |
21 | CONFIG_ENTRY_OFFSET ?= 0x00001000 | ||
21 | 22 | ||
22 | export CONFIG_PAGE_OFFSET CONFIG_MEMORY_START CONFIG_BOOT_LINK_OFFSET \ | 23 | export CONFIG_PAGE_OFFSET CONFIG_MEMORY_START CONFIG_BOOT_LINK_OFFSET \ |
23 | CONFIG_ZERO_PAGE_OFFSET | 24 | CONFIG_ZERO_PAGE_OFFSET CONFIG_ENTRY_OFFSET |
24 | 25 | ||
25 | targets := zImage vmlinux.srec uImage uImage.srec | 26 | targets := zImage vmlinux.srec uImage uImage.srec |
26 | subdir- := compressed | 27 | subdir- := compressed |
@@ -40,7 +41,7 @@ KERNEL_LOAD := $(shell /bin/bash -c 'printf "0x%08x" \ | |||
40 | KERNEL_ENTRY := $(shell /bin/bash -c 'printf "0x%08x" \ | 41 | KERNEL_ENTRY := $(shell /bin/bash -c 'printf "0x%08x" \ |
41 | $$[$(CONFIG_PAGE_OFFSET) + \ | 42 | $$[$(CONFIG_PAGE_OFFSET) + \ |
42 | $(CONFIG_MEMORY_START) + \ | 43 | $(CONFIG_MEMORY_START) + \ |
43 | $(CONFIG_ZERO_PAGE_OFFSET)+0x1000]') | 44 | $(CONFIG_ZERO_PAGE_OFFSET) + $(CONFIG_ENTRY_OFFSET)]') |
44 | 45 | ||
45 | quiet_cmd_uimage = UIMAGE $@ | 46 | quiet_cmd_uimage = UIMAGE $@ |
46 | cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A sh -O linux -T kernel \ | 47 | cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A sh -O linux -T kernel \ |