EFI_DEVICE_PATH_PROTOCOL* PciRootComplexDevicePath;\r
EFI_HANDLE Handle;\r
EFI_STATUS Status;\r
- UINT32 JunoRevision;\r
\r
//\r
// PCI Root Complex initialization\r
Status = gBS->ConnectController (Handle, NULL, PciRootComplexDevicePath, FALSE);\r
ASSERT_EFI_ERROR (Status);\r
\r
- GetJunoRevision (JunoRevision);\r
-\r
- if (JunoRevision != JUNO_REVISION_R0) {\r
- Status = ArmJunoSetNicMacAddress ();\r
- if (EFI_ERROR (Status)) {\r
- DEBUG ((DEBUG_ERROR, "ArmJunoDxe: Failed to set Marvell Yukon NIC MAC address\n"));\r
- }\r
+ Status = ArmJunoSetNicMacAddress ();\r
+ if (EFI_ERROR (Status)) {\r
+ DEBUG ((DEBUG_ERROR, "ArmJunoDxe: Failed to set Marvell Yukon NIC MAC address\n"));\r
}\r
}\r
\r
}\r
}\r
\r
- //\r
- // Create an event belonging to the "gEfiEndOfDxeEventGroupGuid" group.\r
- // The "OnEndOfDxe()" function is declared as the call back function.\r
- // It will be called at the end of the DXE phase when an event of the\r
- // same group is signalled to inform about the end of the DXE phase.\r
- // Install the INSTALL_FDT_PROTOCOL protocol.\r
- //\r
- Status = gBS->CreateEventEx (\r
- EVT_NOTIFY_SIGNAL,\r
- TPL_CALLBACK,\r
- OnEndOfDxe,\r
- NULL,\r
- &gEfiEndOfDxeEventGroupGuid,\r
- &EndOfDxeEvent\r
- );\r
-\r
// Install dynamic Shell command to run baremetal binaries.\r
Status = ShellDynCmdRunAxfInstall (ImageHandle);\r
if (EFI_ERROR (Status)) {\r
// Enable PCI enumeration\r
PcdSetBool (PcdPciDisableBusEnumeration, FALSE);\r
\r
+ //\r
+ // Create an event belonging to the "gEfiEndOfDxeEventGroupGuid" group.\r
+ // The "OnEndOfDxe()" function is declared as the call back function.\r
+ // It will be called at the end of the DXE phase when an event of the\r
+ // same group is signalled to inform about the end of the DXE phase.\r
+ // Install the INSTALL_FDT_PROTOCOL protocol.\r
+ //\r
+ Status = gBS->CreateEventEx (\r
+ EVT_NOTIFY_SIGNAL,\r
+ TPL_CALLBACK,\r
+ OnEndOfDxe,\r
+ NULL,\r
+ &gEfiEndOfDxeEventGroupGuid,\r
+ &EndOfDxeEvent\r
+ );\r
+\r
// Declare the related ACPI Tables\r
EfiCreateProtocolNotifyEvent (\r
&gEfiAcpiTableProtocolGuid,\r