Skip to content

Commit

Permalink
Fix alioth & bitra
Browse files Browse the repository at this point in the history
  • Loading branch information
Robotix22 committed Jun 22, 2024
1 parent c641ac6 commit 5eda4d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Platforms/Realme/bitraPkg/Include/APRIORI.inc
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ APRIORI DXE {
# Core Drivers
INF EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
INF ArmPkg/Drivers/TimerDxe/TimerDxe.inf
INF ArmPkg/Drivers/ArmPsciMpServicesDxe/ArmPsciMpServicesDxe.inf


INF Binaries/bitra/QcomPkg/Drivers/SmemDxe/SmemDxe.inf
INF QcomPkg/Drivers/DynamicRamDxe/DynamicRamDxe.inf
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@ InitPeripherals (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable)
{
EFI_STATUS Status;
EFI_EVENT InitEvent;
EFI_STATUS Status = EFI_SUCCESS;

// Update the ACPI Tables
PlatformUpdateAcpiTables ();

// Start the USB Port Controller
if (FixedPcdGetBool(PcdStartUsbController)) {
EFI_EVENT InitEvent;

Status = gBS->CreateEventEx (EVT_NOTIFY_SIGNAL, TPL_CALLBACK, DummyNotify, NULL, &gUsbControllerInitGuid, &InitEvent);
if (EFI_ERROR (Status)) {
DEBUG ((EFI_D_ERROR, "Failed to Create USB Port Controller Start Event! Status = %r\n", Status));
Expand All @@ -37,6 +38,8 @@ InitPeripherals (

// Init SD Card Slot
if (FixedPcdGetBool(PcdInitCardSlot)) {
EFI_EVENT InitEvent;

Status = gBS->CreateEventEx (EVT_NOTIFY_SIGNAL, TPL_CALLBACK, DummyNotify, NULL, &gSDCardInitGuid, &InitEvent);
if (EFI_ERROR (Status)) {
DEBUG ((EFI_D_ERROR, "Failed to Create SD Card Init Event! Status = %r\n", Status));
Expand Down

0 comments on commit 5eda4d4

Please sign in to comment.