]> git.baikalelectronics.ru Git - uboot.git/commit
tpm: Convert to use a device parameter
authorSimon Glass <sjg@chromium.org>
Sun, 18 Nov 2018 21:22:27 +0000 (14:22 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 29 Nov 2018 16:30:06 +0000 (09:30 -0700)
commit9f6d2eaad7416be29d8b0b6b5b2a6b9b3f84f775
treee45abe92dc40db0d684f7ed82453504469b99cc3
parent916e97d6cca49813cbfa9b574d9d56595de38227
tpm: Convert to use a device parameter

At present many TPM calls assume there is only one TPM in the system and
look up this TPM themselves. This is inconsistent with driver model, which
expects all driver methods to have a device parameter. Update the code to
correct this.

Signed-off-by: Simon Glass <sjg@chromium.org>
17 files changed:
board/gdsys/a38x/controlcenterdc.c
board/gdsys/a38x/hre.c
board/gdsys/a38x/hre.h
board/gdsys/a38x/keyprogram.c
board/gdsys/a38x/keyprogram.h
board/gdsys/p1022/controlcenterd-id.c
cmd/tpm-common.c
cmd/tpm-v1.c
cmd/tpm-v2.c
cmd/tpm_test.c
include/tpm-common.h
include/tpm-v1.h
include/tpm-v2.h
lib/tpm-common.c
lib/tpm-utils.h
lib/tpm-v1.c
lib/tpm-v2.c