sh: Add uImage and S-rec generation support.
Add a couple of new targets, both for uImage and S-rec generation. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
@ -15,13 +15,7 @@ endif
|
||||
|
||||
#
|
||||
# IMAGE_OFFSET is the load offset of the compression loader
|
||||
# Assign dummy values if these 2 variables are not defined,
|
||||
# in order to suppress error message.
|
||||
#
|
||||
CONFIG_PAGE_OFFSET ?= 0x80000000
|
||||
CONFIG_MEMORY_START ?= 0x0c000000
|
||||
CONFIG_BOOT_LINK_OFFSET ?= 0x00800000
|
||||
|
||||
IMAGE_OFFSET := $(shell printf "0x%08x" $$[$(CONFIG_PAGE_OFFSET) + \
|
||||
$(CONFIG_MEMORY_START) + \
|
||||
$(CONFIG_BOOT_LINK_OFFSET)])
|
||||
|
Reference in New Issue
Block a user