mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 14:00:19 +00:00 
			
		
		
		
	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 */
 |