tee: open tee loading under optee
authorYvonne Chen <yvonne.chen@amlogic.com>
Fri, 29 Sep 2017 06:11:58 +0000 (14:11 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Mon, 9 Oct 2017 08:29:59 +0000 (01:29 -0700)
PD#151855: open tee loading under optee

Change-Id: Id18ff381bedadb724ace5f22cc820ef64f4666f6
Signed-off-by: Yvonne Chen <yvonne.chen@amlogic.com>
drivers/amlogic/tee/tee.c

index 49ee586..eb846d2 100644 (file)
@@ -146,7 +146,6 @@ bool tee_enabled(void)
 {
        struct arm_smccc_res res;
 
-       return false; /*disable tee load temporary*/
        arm_smccc_smc(TEE_SMC_CALLS_UID, 0, 0, 0, 0, 0, 0, 0, &res);
 
        if (res.a0 == TEE_MSG_UID_0 && res.a1 == TEE_MSG_UID_1 &&