summaryrefslogtreecommitdiff
path: root/ArmPlatformPkg
diff options
context:
space:
mode:
authorOlivier Martin <olivier.martin@arm.com>2015-05-06 11:14:28 +0000
committeroliviermartin <oliviermartin@Edk2>2015-05-06 11:14:28 +0000
commit2ff41466ef6b5cf05d6c9e2ce7cd0d4ec77a47db (patch)
treee7124f3bc2ce3e17e33d0373a5f6989737cfef7e /ArmPlatformPkg
parentc705cd5a1154e8a00fa293bdfa341b9eb7d0928f (diff)
downloadedk2-platforms-2ff41466ef6b5cf05d6c9e2ce7cd0d4ec77a47db.tar.xz
ArmPlatformPkg/ArmJunoDxe: Use different UID for PCI Emulation
We keep UID=0 for the 'real' PCI root complex on the Juno board. 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@17342 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPlatformPkg')
-rw-r--r--ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciEmulation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciEmulation.c b/ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciEmulation.c
index 9fdb09b2fb..2ddebf606e 100644
--- a/ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciEmulation.c
+++ b/ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciEmulation.c
@@ -558,7 +558,7 @@ PciInstallDevice (
// Unique device path.
CopyMem (&Private->DevicePath, &PciIoDevicePathTemplate, sizeof (PciIoDevicePathTemplate));
- Private->DevicePath.AcpiDevicePath.UID = 0;
+ Private->DevicePath.AcpiDevicePath.UID = 1; // Use '1' to differentiate from PLDA root complex
Private->DevicePath.PciDevicePath.Device = DeviceId;
// Copy protocol structure