mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	tee: amdtee: amdtee depends on CRYPTO_DEV_CCP_DD
If CRYPTO_DEV_CCP_DD=m and AMDTEE=y, the following error is seen
while building call.c or core.c
drivers/tee/amdtee/call.o: In function `handle_unload_ta':
call.c:(.text+0x35f): undefined reference to `psp_tee_process_cmd'
drivers/tee/amdtee/core.o: In function `amdtee_driver_init':
core.c:(.init.text+0xf): undefined reference to `psp_check_tee_status
Fix the config dependency for AMDTEE here.
Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: 757cc3e9ff ("tee: add AMD-TEE driver")
Signed-off-by: Hongbo Yao <yaohongbo@huawei.com>
Reviewed-by: Rijo Thomas <Rijo-john.Thomas@amd.com>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
			
			
This commit is contained in:
		
							parent
							
								
									2343d1529a
								
							
						
					
					
						commit
						872d92dec3
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -3,6 +3,6 @@
 | 
				
			||||||
config AMDTEE
 | 
					config AMDTEE
 | 
				
			||||||
	tristate "AMD-TEE"
 | 
						tristate "AMD-TEE"
 | 
				
			||||||
	default m
 | 
						default m
 | 
				
			||||||
	depends on CRYPTO_DEV_SP_PSP
 | 
						depends on CRYPTO_DEV_SP_PSP && CRYPTO_DEV_CCP_DD
 | 
				
			||||||
	help
 | 
						help
 | 
				
			||||||
	  This implements AMD's Trusted Execution Environment (TEE) driver.
 | 
						  This implements AMD's Trusted Execution Environment (TEE) driver.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue