the following patch was just integrated into master: commit 5bdbd004e689157588c01b9689611b826d2382c9 Author: Yen Lin yelin@nvidia.com Date: Wed Apr 8 16:55:17 2015 -0700
lib/tlcl: Provide mock implementation
It returns TPM_E_NO_DEVICE for all calls.
BRANCH=None BUG=None TEST=manual MOCK_TPM=1 emerge-foster coreboot, and coreboot can boot to kernel
Change-Id: Id7e79b58fabeac929b874385064b2417db49a708 Signed-off-by: Patrick Georgi pgeorgi@chromium.org Original-Commit-Id: a9a91a65af115657e7317754eda931120750c56d Original-Signed-off-by: Yen Lin yelin@nvidia.com Original-Change-Id: I8dcf0db14cf2bc76c67a3bd7f06114e70e08764d Original-Reviewed-on: https://chromium-review.googlesource.com/264946 Original-Reviewed-by: Furquan Shaikh furquan@chromium.org Reviewed-on: http://review.coreboot.org/9983 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer stefan.reinauer@coreboot.org
See http://review.coreboot.org/9983 for details.
-gerrit