Someone who knowing trustzone for LS1012A(others LS CPU) to setting | configuration board unique key using secure storage,thanks
Hello 穆 昆空,
Please refer to the following in the file core/arch/arm/plat-ls/main.c in optee_os.
#define OPTEE_SMC_FUNCID_SIP_LS_HW_UNQ_KEY 0xFF14
#define OPTEE_SMC_FAST_CALL_SIP_LS_HW_UNQ_KEY \
OPTEE_SMC_CALL_VAL(OPTEE_SMC_32, OPTEE_SMC_FAST_CALL, \
OPTEE_SMC_OWNER_SIP, \
OPTEE_SMC_FUNCID_SIP_LS_HW_UNQ_KEY)
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------