]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/ArmJunoDxe.c
ArmPlatformPkg/ArmJunoPkg: only have 1 PCD for the FDT
[mirror_edk2.git] / ArmPlatformPkg / ArmJunoPkg / Drivers / ArmJunoDxe / ArmJunoDxe.c
index 205aead0e9c6a34e986d7fc7a9512eacbde823b0..dba1fcd7aeef020fa3c0ddf8419777ce844aaadb 100644 (file)
@@ -274,19 +274,7 @@ ArmJunoEntryPoint (
   //\r
   // Set up the device path to the FDT.\r
   //\r
-  switch (JunoRevision) {\r
-  case JUNO_R0:\r
-    TextDevicePath = (CHAR16*)FixedPcdGetPtr (PcdJunoR0FdtDevicePath);\r
-    break;\r
-\r
-  case JUNO_R1:\r
-    TextDevicePath = (CHAR16*)FixedPcdGetPtr (PcdJunoR1A57x2FdtDevicePath);\r
-    break;\r
-\r
-  default:\r
-    TextDevicePath = NULL;\r
-  }\r
-\r
+  TextDevicePath = (CHAR16*)FixedPcdGetPtr (PcdJunoFdtDevicePath);\r
   if (TextDevicePath != NULL) {\r
     TextDevicePathSize = StrSize (TextDevicePath);\r
     Buffer = PcdSetPtr (PcdFdtDevicePaths, &TextDevicePathSize, TextDevicePath);\r