Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Issue 6883040: Add option to use mocked TPM driver (Closed)

Created:
9 years, 8 months ago by Che-Liang Chiou
Modified:
9 years ago
CC:
chromium-os-reviews_chromium.org, Randall Spangler, gauravsh, Luigi Semenzato, Bill Richardson
Visibility:
Public.

Description

Add option to use mocked TPM driver Some ARM boards, such as Seaboard, have buggy TPM chip that bricks the borad. This commit adds a option to use mocked TPM driver. R=rongchang@chromium.org,rspangler@chromium.org,wad@chromium.org BUG=chromium-os:14239 TEST=Run verified boot on Seaboard Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=8511f78

Patch Set 1 #

Total comments: 12

Patch Set 2 : Code review #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+229 lines, -3 lines) Patch
M Makefile View 1 1 chunk +1 line, -0 lines 1 comment Download
M firmware/Makefile View 1 chunk +12 lines, -3 lines 0 comments Download
A firmware/lib/mocked_rollback_index.c View 1 chunk +70 lines, -0 lines 0 comments Download
A firmware/lib/mocked_tpm_bootmode.c View 1 chunk +16 lines, -0 lines 0 comments Download
A firmware/lib/tpm_lite/mocked_tlcl.c View 1 1 chunk +130 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Che-Liang Chiou
9 years, 8 months ago (2011-04-19 08:03:54 UTC) #1
Randall Spangler
If you mock rollback_index.c and tpm_bootmode.c, you don't need to mock tlcl.c since tlcl.c funcs ...
9 years, 8 months ago (2011-04-19 20:23:35 UTC) #2
Che-Liang Chiou
I mock tlcl.c because Rong has ported TPM unit tests to u-boot (functions defined in ...
9 years, 8 months ago (2011-04-20 02:28:57 UTC) #3
Randall Spangler
The tlcl.c mocks should either provide reasonable sample data or return error. (That way, if ...
9 years, 8 months ago (2011-04-20 21:11:42 UTC) #4
Che-Liang Chiou
Updated. PTAL. http://codereview.chromium.org/6883040/diff/1/firmware/lib/tpm_lite/mocked_tlcl.c File firmware/lib/tpm_lite/mocked_tlcl.c (right): http://codereview.chromium.org/6883040/diff/1/firmware/lib/tpm_lite/mocked_tlcl.c#newcode40 firmware/lib/tpm_lite/mocked_tlcl.c:40: uint32_t TlclRead(uint32_t index, void* data, uint32_t length) ...
9 years, 8 months ago (2011-04-21 11:22:36 UTC) #5
Randall Spangler
9 years, 8 months ago (2011-04-21 22:56:37 UTC) #6
LGTM, thanks

Powered by Google App Engine
This is Rietveld 408576698