diff options
author | Randall Spangler <rspangler@chromium.org> | 2011-07-13 09:48:41 -0700 |
---|---|---|
committer | Randall Spangler <rspangler@chromium.org> | 2011-07-13 10:13:12 -0700 |
commit | a712e01ae783351e921031aab59ff1b7583d683d (patch) | |
tree | 81b255e45fd41e2ca5ef7405d19e044234500f07 /host/linktest | |
parent | d70241f37d87bd7758fc6c5bbb7d5870098ecdfc (diff) | |
download | vboot-a712e01ae783351e921031aab59ff1b7583d683d.tar.gz |
Add support for flags in the firmware preamble.
The old (v2.0) parser is compatible with new (v2.1) structs. That is,
this won't break existing firmware or vbutil_firmware.
A new (v2.1) parser parsing an old (v2.0) struct will return 0 for the
flags.
This will be used to support the RO-normal code path in a subsequent CL.
BUG=chromium-os:17304
TEST=added unit tests; make && make runtests
Change-Id: I73bcd8acd3330b0d7d143061b5ef838e6d79cf1a
Reviewed-on: http://gerrit.chromium.org/gerrit/4030
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Tested-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'host/linktest')
-rw-r--r-- | host/linktest/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/linktest/main.c b/host/linktest/main.c index 45fb0bcf..1f3dfecc 100644 --- a/host/linktest/main.c +++ b/host/linktest/main.c @@ -35,7 +35,7 @@ int main(void) CalculateSignature(0, 0, 0); /* host_common.h */ - CreateFirmwarePreamble(0, 0, 0, 0); + CreateFirmwarePreamble(0, 0, 0, 0, 0); CreateKernelPreamble(0, 0, 0, 0, 0, 0, 0); /* file_keys.h */ |