vboot: Fix FWMP link error if TPM is mocked
authorRandall Spangler <rspangler@chromium.org>
Tue, 10 May 2016 16:45:05 +0000 (09:45 -0700)
committerVadim Bendebury <vbendeb@chromium.org>
Wed, 11 May 2016 02:38:15 +0000 (02:38 +0000)
commit5319565988fc5b1862d649fad985859929946a91
tree96674926746fa7f7e6eb564359f29cfba19f6d6a
parent946abf1439f378dded6d4c4a82b53af86cdf44a3
vboot: Fix FWMP link error if TPM is mocked

The MOCK_TPM build flag caused link to fail because RollbackFwmpRead()
was missing its mock.

BUG=chromium:601492
BRANCH=baytrail and newer platforms
TEST=make -j runtests
     Hack makefile to add MOCK_TPM := 1 and make -j; no link errors.

Change-Id: I3885d6b6c627bf475f4da33ef67f31aec2159799
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/343920
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
firmware/lib/mocked_rollback_index.c
firmware/lib/rollback_index.c