summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorAshutosh Singh <ashutosh.singh@arm.com>2016-05-27 15:51:17 +0100
committerAshutosh Singh <ashutosh.singh@arm.com>2016-06-13 10:19:58 +0100
commit29464f13f6f940abf7fb6218df05e38b0bb3f80f (patch)
tree78f6faca1b6032c32ca404e2325b61c10460eb44 /services
parentae43c9493d2c6a2a878f3cee0c240c69fe88f130 (diff)
opteed: assume aarch64 for optee
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>
Diffstat (limited to 'services')
-rw-r--r--services/spd/opteed/opteed_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/spd/opteed/opteed_main.c b/services/spd/opteed/opteed_main.c
index 6b4b14af..9770fb99 100644
--- a/services/spd/opteed/opteed_main.c
+++ b/services/spd/opteed/opteed_main.c
@@ -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,