diff options
-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 4b3a6f19c3b..59f552c1334 100644 --- a/arch/sh/boot/Makefile +++ b/arch/sh/boot/Makefile | |||
@@ -38,8 +38,9 @@ KERNEL_LOAD := $(shell /bin/bash -c 'printf "0x%8x" \ | |||
38 | $(CONFIG_ZERO_PAGE_OFFSET)]') | 38 | $(CONFIG_ZERO_PAGE_OFFSET)]') |
39 | 39 | ||
40 | KERNEL_ENTRY := $(shell /bin/bash -c 'printf "0x%8x" \ | 40 | KERNEL_ENTRY := $(shell /bin/bash -c 'printf "0x%8x" \ |
41 | $$[$(KERNEL_LOAD)+0x1000]') | 41 | $$[$(CONFIG_PAGE_OFFSET) + \ |
42 | 42 | $(CONFIG_MEMORY_START) + \ | |
43 | $(CONFIG_ZERO_PAGE_OFFSET)+0x1000]') | ||
43 | 44 | ||
44 | quiet_cmd_uimage = UIMAGE $@ | 45 | quiet_cmd_uimage = UIMAGE $@ |
45 | cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A sh -O linux -T kernel \ | 46 | cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A sh -O linux -T kernel \ |