summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVic Yang <victoryang@google.com>2015-01-15 15:10:27 -0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-01-17 01:00:12 +0000
commitf2518b9f2d0b0a5c9c05e8179aea611b99782bd3 (patch)
treecd21388cce757bc5fed3a4b99cb3d14365cca2b3
parent1d0a7f8713902f68e9aab35e1a0284ff7b9b75cd (diff)
downloadchrome-ec-f2518b9f2d0b0a5c9c05e8179aea611b99782bd3.tar.gz
mec1322: Move default header location to 0x0
The current header location is too large for small SPI flash chips. Since this value is only used for private EC SPI, it doesn't really matter what it is. Let's just move it to 0x0. Note that this doesn't affect shared SPI case, as we need a more sophisticated packer for that. BRANCH=None BUG=chrome-os-partner:35308 TEST=Build for Glower and check the size of ec.spi.bin. Change-Id: I96871d1677999e7cc1c7385b749563b8c09a318a Signed-off-by: Vic Yang <victoryang@google.com> Reviewed-on: https://chromium-review.googlesource.com/241114 Tested-by: Vic Yang <victoryang@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org> Commit-Queue: Vic Yang <victoryang@chromium.org>
-rwxr-xr-xchip/mec1322/util/pack_ec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/mec1322/util/pack_ec.py b/chip/mec1322/util/pack_ec.py
index 360b7a5914..de7dbee5c8 100755
--- a/chip/mec1322/util/pack_ec.py
+++ b/chip/mec1322/util/pack_ec.py
@@ -147,7 +147,7 @@ def main():
default=4096)
parser.add_argument("-l", "--header_loc", type=int,
help="Location of header in SPI flash",
- default=0x170000)
+ default=0)
parser.add_argument("-p", "--payload_offset", type=int,
help="The offset of payload from the header",
default=0x240)