diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ec/hp/mec1322/Makefile.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ec/hp/mec1322/Makefile.inc b/src/ec/hp/mec1322/Makefile.inc index 5aec41882c..444e7e988a 100644 --- a/src/ec/hp/mec1322/Makefile.inc +++ b/src/ec/hp/mec1322/Makefile.inc @@ -8,7 +8,8 @@ ifeq ($(CONFIG_MEC1322_FIRMWARE),y) cbfs-files-y += ecfw.bin ecfw.bin-file := $(call strip_quotes,$(CONFIG_MEC1322_FW)) -ecfw.bin-position := $(CONFIG_MEC1322_FW_OFFSET) +ecfw.bin-position := $(shell printf "0x%x" \ + $$(( 0x100000000 - $(CONFIG_ROM_SIZE) + $(CONFIG_MEC1322_FW_OFFSET)))) ecfw.bin-type := raw endif |