u-boot-brain/board/gdsys/a38x/keyprogram.h
Simon Glass abdc7b8a2d 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>
2018-11-29 09:30:06 -07:00

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 */