Skip to content

Commit

Permalink
sh: Fix up KERNEL_ENTRY calculation for uImage.
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Jan 28, 2008
1 parent 003c6af commit 6fc5153
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions arch/sh/boot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ KERNEL_LOAD := $(shell /bin/bash -c 'printf "0x%8x" \
$(CONFIG_ZERO_PAGE_OFFSET)]')

KERNEL_ENTRY := $(shell /bin/bash -c 'printf "0x%8x" \
$$[$(KERNEL_LOAD)+0x1000]')

$$[$(CONFIG_PAGE_OFFSET) + \
$(CONFIG_MEMORY_START) + \
$(CONFIG_ZERO_PAGE_OFFSET)+0x1000]')

quiet_cmd_uimage = UIMAGE $@
cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A sh -O linux -T kernel \
Expand Down

0 comments on commit 6fc5153

Please sign in to comment.