Skip to content

Commit 872d92d

Browse files
hober-yaoherbertx
authored andcommitted
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 <[email protected]> Fixes: 757cc3e ("tee: add AMD-TEE driver") Signed-off-by: Hongbo Yao <[email protected]> Reviewed-by: Rijo Thomas <[email protected]> Acked-by: Jens Wiklander <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 2343d15 commit 872d92d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/tee/amdtee/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
config AMDTEE
44
tristate "AMD-TEE"
55
default m
6-
depends on CRYPTO_DEV_SP_PSP
6+
depends on CRYPTO_DEV_SP_PSP && CRYPTO_DEV_CCP_DD
77
help
88
This implements AMD's Trusted Execution Environment (TEE) driver.

0 commit comments

Comments
 (0)