aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidcunado-arm <david.cunado@arm.com>2017-10-27 01:07:39 +0100
committerGitHub <noreply@github.com>2017-10-27 01:07:39 +0100
commit24552242b2143e0588ba93b41ec614e151d10f5c (patch)
treee44fa53ee0b3c0e9bf8f1e561428ca506116f808
parent907140002e629d4786695e516d2b1665e5fb923b (diff)
parent11d9b20f4baef02125fa7aff1e70c4c17f2ab1aa (diff)
downloadarm-trusted-firmware-24552242b2143e0588ba93b41ec614e151d10f5c.tar.gz
Merge pull request #1147 from etienne-lms/qemu-optee-load
qemu/optee: load OP-TEE pageable part 2MB above OP-TEE image
-rw-r--r--plat/qemu/include/platform_def.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/plat/qemu/include/platform_def.h b/plat/qemu/include/platform_def.h
index 9b5eba37..0ae28ea6 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
/*