summaryrefslogtreecommitdiff
path: root/chip/mec1322/build.mk
diff options
context:
space:
mode:
authorAseda Aboagye <aaboagye@google.com>2015-10-07 14:52:31 -0700
committerchrome-bot <chrome-bot@chromium.org>2015-10-13 21:58:04 -0700
commitd42ee9ef36fbdd54b5b18dc90215313d7f41a682 (patch)
tree91c59816c96b734d0342f8f86ac6b0b2e3e0c932 /chip/mec1322/build.mk
parent9ed620f04bf7ba4593e45e2688194f56a796c984 (diff)
downloadchrome-ec-d42ee9ef36fbdd54b5b18dc90215313d7f41a682.tar.gz
glados: kunimitsu: Change image size to 100K.stabilize-smaug-7547.B
The MEC1322 is optimized for 96k code RAM and 32k data RAM, therefore the default MEC1322 boards should follow this. On GLaDOS and Kunimitsu, we cannot fit all of the data in data RAM, therefore we adjust this boundary slightly. This should not be moved further as this represents when we are truly out of space. 128k image: -3k loader -1k for shmem/panic info -24k RAM for RO/RW -100k for RO/RW .text and .rodata BUG=chrome-os-partner:46058 BUG=chrome-os-partner:46063 BUG=chrome-os-partner:45690 BRANCH=None TEST=make -j buildall tests TEST=Flash GLaDOS, verify AP and EC boot. Change-Id: Ie53ef6dc607333968bee8f296e7c21ed629e357b Signed-off-by: Aseda Aboagye <aaboagye@google.com> Reviewed-on: https://chromium-review.googlesource.com/305362 Commit-Ready: Aseda Aboagye <aaboagye@chromium.org> Tested-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'chip/mec1322/build.mk')
-rw-r--r--chip/mec1322/build.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/chip/mec1322/build.mk b/chip/mec1322/build.mk
index 587dbe3847..064fb4879c 100644
--- a/chip/mec1322/build.mk
+++ b/chip/mec1322/build.mk
@@ -36,7 +36,8 @@ cmd_obj_to_bin = $(OBJCOPY) --gap-fill=0xff -O binary $< $@.tmp1 ; \
--loader_file $(mec1322-lfw-flat) \
--payload_key ${SCRIPTDIR}/rsakey_sign_payload.pem \
--header_key ${SCRIPTDIR}/rsakey_sign_header.pem \
- --spi_size ${CHIP_SPI_SIZE_KB} ; rm -f $@.tmp1
+ --spi_size ${CHIP_SPI_SIZE_KB} \
+ --image_size $(_rw_size); rm -f $@.tmp1
mec1322-lfw = chip/mec1322/lfw/ec_lfw
mec1322-lfw-flat = $(out)/RW/$(mec1322-lfw)-lfw.flat