diff options
author | Bill Richardson <wfrichar@chromium.org> | 2015-09-25 14:39:52 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-09-25 19:36:37 -0700 |
commit | 094a81f5deff3b8cf5342138afefef8d8f34f8ff (patch) | |
tree | 5e0624367d5b9b7ca1c25b877db217b999f8e80c /include/config.h | |
parent | e9000b22cb0e15df7d1389da30d78e7244086d0b (diff) | |
download | chrome-ec-094a81f5deff3b8cf5342138afefef8d8f34f8ff.tar.gz |
cleanup: Handle signed RW images a bit cleaner
For signed EC RW images (CONFIG_RWSIG), there's no point in
embedding the public key or signature into the image itself since
it will just be replaced by the signer (either as the next step
in the build process, or after the fact for MP releases). This
takes that out and just points to where the pubkey and signature
will be placed.
BUG=none
BRANCH=none
TEST=make buildall
I also checked the signatures with
futility show -t build/*/ec.bin
They still look good, and the one signed image I booted (Cr50)
works as before.
Change-Id: Ib39b7c508914851f81a1bebb2450e08ef0def76c
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/302630
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index 1094c89f11..bdffee4cfa 100644 --- a/include/config.h +++ b/include/config.h @@ -1412,6 +1412,15 @@ * (for accessories without software sync) */ #undef CONFIG_RWSIG +/* + * By default the pubkey and sig are put at the end of the first and second + * half of the total flash, and take up the minimum space possible. You can + * override those defaults with these. + */ +#undef CONFIG_RO_PUBKEY_ADDR +#undef CONFIG_RO_PUBKEY_SIZE +#undef CONFIG_RW_SIG_ADDR +#undef CONFIG_RW_SIG_SIZE /****************************************************************************/ /* Shared objects library. */ |