mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-15 06:33:45 +09:00
![Simon Glass](/assets/img/avatar_default.png)
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>
14 lines
289 B
C
14 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 */
|