From 1775b56df4faf3efb1d5b4b94f00e6dc9cf82340 Mon Sep 17 00:00:00 2001 From: Haojian Zhuang Date: Thu, 9 Apr 2015 08:48:27 +0800 Subject: [PATCH] HiKey: reserve top 16MB for OPTEE Reserve top 16MB memory (0x3F00_0000~0x3FFF_FFFC) in DRAM for OPTEE. Signed-off-by: Haojian Zhuang --- HisiPkg/HiKeyPkg/HiKey.dsc | 2 +- HisiPkg/HiKeyPkg/HiKey.fdf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/HisiPkg/HiKeyPkg/HiKey.dsc b/HisiPkg/HiKeyPkg/HiKey.dsc index afd9df87d33e..5a8938da846a 100644 --- a/HisiPkg/HiKeyPkg/HiKey.dsc +++ b/HisiPkg/HiKeyPkg/HiKey.dsc @@ -109,7 +109,7 @@ # System Memory (1GB) gArmTokenSpaceGuid.PcdSystemMemoryBase|0x00000000 - gArmTokenSpaceGuid.PcdSystemMemorySize|0x40000000 + gArmTokenSpaceGuid.PcdSystemMemorySize|0x3F000000 # HiKey Dual-Cluster profile gArmPlatformTokenSpaceGuid.PcdCoreCount|8 diff --git a/HisiPkg/HiKeyPkg/HiKey.fdf b/HisiPkg/HiKeyPkg/HiKey.fdf index a215a09096a2..a6b5fb6a841d 100644 --- a/HisiPkg/HiKeyPkg/HiKey.fdf +++ b/HisiPkg/HiKeyPkg/HiKey.fdf @@ -26,7 +26,7 @@ ################################################################################ [FD.BL33_AP_UEFI] -BaseAddress = 0x37000000|gArmTokenSpaceGuid.PcdFdBaseAddress # The base address of the Firmware in NOR Flash. +BaseAddress = 0x35000000|gArmTokenSpaceGuid.PcdFdBaseAddress # The base address of the Firmware in NOR Flash. Size = 0x000F0000|gArmTokenSpaceGuid.PcdFdSize # The size in bytes of the FLASH Device ErasePolarity = 1