]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPlatformPkg/Bds: Use HandleProtocol to get SNP instance
authorHeyi Guo <heyi.guo@linaro.org>
Thu, 16 Jul 2015 11:27:05 +0000 (11:27 +0000)
committeroliviermartin <oliviermartin@Edk2>
Thu, 16 Jul 2015 11:27:05 +0000 (11:27 +0000)
commit387e7c15f5e3a047de0a7a5edb5700e90a1c6c78
treed386af04c9df5c1e0473e3afd6a1f3912f3db9a8
parentce65ab53d23211da6857191190cc09b08062dadd
ArmPlatformPkg/Bds: Use HandleProtocol to get SNP instance

LocateProtocol only gets the 1st SNP instance and this will be wrong
in a system with multiple SNP instances installed. Use HandleProtocol
instead.

Cc: Olivier Martin <olivier.martin@arm.com>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Heyi Guo <heyi.guo@linaro.org>
Reviewed-by: Olivier Martin <Olivier.Martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18030 6f19259b-4bc3-4df7-8a09-765794883524
ArmPlatformPkg/Bds/BootOptionSupport.c