mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-21 02:33:07 +00:00
abdc7b8a2d
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>
13 lines
289 B
C
13 lines
289 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* (C) Copyright 2016
|
|
* Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
|
|
*/
|
|
|
|
#ifndef __KEYPROGRAM_H
|
|
#define __KEYPROGRAM_H
|
|
|
|
int load_and_run_keyprog(struct udevice *tpm);
|
|
int flush_keys(struct udevice *tpm);
|
|
|
|
#endif /* __KEYPROGRAM_H */
|