]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.c
ArmPlatformPkg/MemoryInitPei: Check if the main System Memory resource has been declared
authorOlivier Martin <Olivier.Martin@arm.com>
Mon, 6 Jul 2015 16:55:29 +0000 (16:55 +0000)
committeroliviermartin <oliviermartin@Edk2>
Mon, 6 Jul 2015 16:55:29 +0000 (16:55 +0000)
commit40a3f38f67cee7046feb5a5666883cc75a6962ff
tree8260296fd8ac70eee235c50e83fe42b479eaaff4
parentb1179c1929386b16adf755637810dc96dcbda6cc
ArmPlatformPkg/MemoryInitPei: Check if the main System Memory resource has been declared

The PlatformLib could have declared the resource hob for
the main system memory region.
This change would prevent to get this system memory resource
to be declared twice.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <Olivier.Martin@arm.com>
Reviewed-by: Ronald Cron <Ronald.Cron@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17834 6f19259b-4bc3-4df7-8a09-765794883524
ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.c