mirror of
				https://source.denx.de/u-boot/u-boot.git
				synced 2025-10-31 16:31:25 +01:00 
			
		
		
		
	The TPM device has a builtin random number generator(RNG) functionality. Expose the RNG functions of the TPM device to the driver model so that they can be used by the EFI_RNG_PROTOCOL if the protocol is installed. Also change the function arguments and return type of the random number functions to comply with the driver model api. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
		
			
				
	
	
		
			17 lines
		
	
	
		
			523 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			523 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| # SPDX-License-Identifier: GPL-2.0+
 | |
| #
 | |
| # Copyright (c) 2019, Linaro Limited
 | |
| #
 | |
| 
 | |
| obj-$(CONFIG_DM_RNG) += rng-uclass.o
 | |
| obj-$(CONFIG_RNG_MESON) += meson-rng.o
 | |
| obj-$(CONFIG_RNG_SANDBOX) += sandbox_rng.o
 | |
| obj-$(CONFIG_RNG_MSM) += msm_rng.o
 | |
| obj-$(CONFIG_RNG_NPCM) += npcm_rng.o
 | |
| obj-$(CONFIG_RNG_OPTEE) += optee_rng.o
 | |
| obj-$(CONFIG_RNG_STM32MP1) += stm32mp1_rng.o
 | |
| obj-$(CONFIG_RNG_ROCKCHIP) += rockchip_rng.o
 | |
| obj-$(CONFIG_RNG_IPROC200) += iproc_rng200.o
 | |
| obj-$(CONFIG_RNG_SMCCC_TRNG) += smccc_trng.o
 | |
| obj-$(CONFIG_TPM_RNG) += tpm_rng.o
 |