|
This is the preliminary v05 TPM driver from Infineon. With a wrapper layer added to auto detect v03 and v05 chips. This is a version that just work. Cleanup will start after the initial push.
BUG= chromium-os:10497
TEST=Manual
Build
1. build a compatible lib first
emerge-tegra2_seaboard vboot_reference-firmware
2. use MAKEALL script to check all cfg
CROSS_COMPILE=armv7a-cros-linux-gnueabi- VBOOT=/build/tegra2_seaboard/usr ./MAKEALL chromeos
3. check result. 25 passed, no warning, no error
u-boot command
1. build a compatible version
USE-debug VBOOT_DEBUG= 1
emerge-tegra2_seaboard -av vboot_reference-firmware chromeos-u-boot-next
2. flash it using proper tools
[board specific]
3. reset system and boot into command prompt
4. test with cros_tpm_test command sets:
cros_tpm_test enable
cros_tpm_test fast_enable
cros_tpm_test startup
cros_tpm_test timing
Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=10a6dde
Total comments: 20
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1707 lines, -53 lines) |
Patch |
|
M |
Makefile
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
common/cmd_vboot.c
|
View
|
1
2
|
5 chunks |
+16 lines, -9 lines |
0 comments
|
Download
|
|
M |
drivers/misc/Makefile
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
A |
drivers/tpm/Makefile
|
View
|
1
|
1 chunk |
+42 lines, -0 lines |
0 comments
|
Download
|
|
A |
drivers/tpm/slb9635_i2c.c
|
View
|
|
1 chunk |
+71 lines, -0 lines |
0 comments
|
Download
|
|
A |
drivers/tpm/slb9635_i2c/compatibility.h
|
View
|
1
|
1 chunk |
+52 lines, -0 lines |
0 comments
|
Download
|
|
A |
drivers/tpm/slb9635_i2c/ifx_auto.h
|
View
|
1
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
|
A |
drivers/tpm/slb9635_i2c/ifx_v03.c
|
View
|
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
A |
drivers/tpm/slb9635_i2c/ifx_v05.c
|
View
|
1
|
1 chunk |
+46 lines, -0 lines |
0 comments
|
Download
|
|
A |
drivers/tpm/slb9635_i2c/tddl.h
|
View
|
1
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
|
A |
drivers/tpm/slb9635_i2c/tddl.c
|
View
|
1
|
1 chunk |
+100 lines, -0 lines |
0 comments
|
Download
|
|
A |
drivers/tpm/slb9635_i2c/tpm.h
|
View
|
1
|
1 chunk |
+159 lines, -0 lines |
0 comments
|
Download
|
|
A |
drivers/tpm/slb9635_i2c/tpm.c
|
View
|
1
|
1 chunk |
+469 lines, -0 lines |
0 comments
|
Download
|
|
A + |
drivers/tpm/slb9635_i2c/tpm_proto.c
|
View
|
1
|
8 chunks |
+37 lines, -26 lines |
0 comments
|
Download
|
|
A |
drivers/tpm/slb9635_i2c/tpm_tis_i2c.c
|
View
|
1
|
1 chunk |
+568 lines, -0 lines |
0 comments
|
Download
|
|
M |
include/configs/chromeos/tegra2/aebl/common.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
include/configs/chromeos/tegra2/aebl/developer.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
include/configs/chromeos/tegra2/aebl/parts/tpm.h
|
View
|
1
2
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
|
M |
include/configs/chromeos/tegra2/kaen/common.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
include/configs/chromeos/tegra2/kaen/developer.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
include/configs/chromeos/tegra2/kaen/parts/tpm.h
|
View
|
1
2
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
|
M |
include/configs/chromeos/tegra2/seaboard/parts/tpm.h
|
View
|
1
2
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
include/tpm.h
|
View
|
1
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
lib/chromeos/tlcl_stub.c
|
View
|
1
|
2 chunks |
+23 lines, -12 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|