opteed: assume aarch64 for optee
authorAshutosh Singh <ashutosh.singh@arm.com>
Fri, 27 May 2016 14:51:17 +0000 (15:51 +0100)
committerAshutosh Singh <ashutosh.singh@arm.com>
Mon, 13 Jun 2016 09:19:58 +0000 (10:19 +0100)
OPTEE to execute in aarch64 bit mode, set it accordingly
when execution transitions from EL3 to EL1

Change-Id: I59f2f940bdc1aac10543045b006a137d107ec95f
Signed-off-by: Ashutosh Singh <ashutosh.singh@arm.com>
services/spd/opteed/opteed_main.c

index 6b4b14af16d16e7ee968fc97ef07f707aa18d795..9770fb9977fb31c4d15717fa1104aa2bc1cacbb5 100644 (file)
@@ -148,7 +148,7 @@ int32_t opteed_setup(void)
         * state i.e whether AArch32 or AArch64. Assuming it's AArch32
         * for the time being.
         */
-       opteed_rw = OPTEE_AARCH32;
+       opteed_rw = OPTEE_AARCH64;
        opteed_init_optee_ep_state(optee_ep_info,
                                opteed_rw,
                                optee_ep_info->pc,