diff options
author | Etienne Carriere <etienne.carriere@linaro.org> | 2017-10-26 12:05:01 +0200 |
---|---|---|
committer | Etienne Carriere <etienne.carriere@linaro.org> | 2017-10-26 12:05:01 +0200 |
commit | 11d9b20f4baef02125fa7aff1e70c4c17f2ab1aa (patch) | |
tree | f35c212075d461723be93966cc5c04ae9f57e3ea | |
parent | 3b39efa49d9949c80b6e76b99829f84619b46110 (diff) | |
download | arm-trusted-firmware-11d9b20f4baef02125fa7aff1e70c4c17f2ab1aa.tar.gz |
qemu/optee: load OP-TEE pageable part 2MB above OP-TEE image
OP-TEE dedicates the end of the Qemu secure DRAM as specific out-of-TEE
secure RAM. To support this configuration the trusted firmware should
not load OP-TEE resources in this area.
To overcome the issue, OP-TEE pageable image is now loaded 2MByte above
the secure RAM base address.
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
-rw-r--r-- | plat/qemu/include/platform_def.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plat/qemu/include/platform_def.h b/plat/qemu/include/platform_def.h index e91a7db9..29537388 100644 --- a/plat/qemu/include/platform_def.h +++ b/plat/qemu/include/platform_def.h @@ -73,9 +73,8 @@ #define SEC_DRAM_BASE 0x0e100000 #define SEC_DRAM_SIZE 0x00f00000 -/* Load pageable part of OP-TEE at end of secure DRAM */ -#define QEMU_OPTEE_PAGEABLE_LOAD_BASE (SEC_DRAM_BASE + SEC_DRAM_SIZE - \ - QEMU_OPTEE_PAGEABLE_LOAD_SIZE) +/* Load pageable part of OP-TEE 2MB above secure DRAM base */ +#define QEMU_OPTEE_PAGEABLE_LOAD_BASE (SEC_DRAM_BASE + 0x00200000) #define QEMU_OPTEE_PAGEABLE_LOAD_SIZE 0x00400000 /* |