summaryrefslogtreecommitdiff
path: root/util/signer/common/image.h
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2015-10-07 15:30:18 -0700
committerchrome-bot <chrome-bot@chromium.org>2015-10-07 22:19:34 -0700
commit298845ed71f8df70132620fe36285e5f429eb4e7 (patch)
treec954dd053682080eb8288e6e1e916964732069ed /util/signer/common/image.h
parent7e07e469f35f80337d9bb5c8767a9a35aa348b55 (diff)
downloadchrome-ec-298845ed71f8df70132620fe36285e5f429eb4e7.tar.gz
cr50: upgrade to the latest FPGA image (20151007_064811)
This patch updates the EC codebase to match the suggested USB build. The spiflash utility must come from the same tarball. BRANCH=none BUG=none TEST=as follows: - programmed the FPGA, it now reports the following when reset: BootRom 0.8.91hw - booted the new image using the latest spiflash version. Note that the bootrom now reports the FPGA image it comes from: BootRom 20151007_064811@75052 - disconnected the FPGA upgrade port, rebooted the device, entered on the device console: > spstp off > spste run on the workstation: $ examples/spiraw.py -l 10 -f 800000 FT232H Future Technology Devices International, Ltd initialized at 857142 hertz and observe on the DUT console: Processed 10 frames rx count 11604, tx count 5512, tx_empty 10, max rx batch 11 > Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Change-Id: Iccd8f202493951f803393395273caa83467655df Reviewed-on: https://chromium-review.googlesource.com/304622 Commit-Ready: Marius Schilder <mschilder@chromium.org> Tested-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-by: Marius Schilder <mschilder@chromium.org> Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'util/signer/common/image.h')
-rw-r--r--util/signer/common/image.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/signer/common/image.h b/util/signer/common/image.h
index c1468bb079..31af8bbb1a 100644
--- a/util/signer/common/image.h
+++ b/util/signer/common/image.h
@@ -22,7 +22,9 @@ class Image {
bool fromIntelHex(const std::string& filename, bool withSignature = true);
bool fromElf(const std::string& filename);
- bool sign(PublicKey& key, const SignedHeader* hdr, const uint32_t fuses[]);
+ bool sign(PublicKey& key, const SignedHeader* hdr,
+ const uint32_t fuses[],
+ const uint32_t info[]);
void generate(const std::string& outputFilename, bool hex_output) const;