Skip to content

Commit

Permalink
uefi-firmware: update edk2-uefi-dtb patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Princemachiavelli committed Apr 8, 2024
1 parent 63b5354 commit f82d959
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pkgs/uefi-firmware/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ let
# using one from the kernel-dtb partition.
# See: https://github.com/anduril/jetpack-nixos/pull/18
# Upstream Fixed in e81614999?
#./edk2-uefi-dtb.patch
./edk2-uefi-dtb.patch
];
postPatch = lib.optionalString errorLevelInfo ''
sed -i 's#PcdDebugPrintErrorLevel|.*#PcdDebugPrintErrorLevel|0x8000004F#' Platform/NVIDIA/NVIDIA.common.dsc.inc
Expand Down
6 changes: 1 addition & 5 deletions pkgs/uefi-firmware/edk2-uefi-dtb.patch
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
diff --git a/Silicon/NVIDIA/Library/DxeDtPlatformDtbLoaderLib/DxeDtPlatformDtbKernelLoaderLib.c b/Silicon/NVIDIA/Library/DxeDtPlatformDtbLoaderLib/DxeDtPlatformDtbKernelLoaderLib.c
index 1defbed..d16b86e 100644
--- a/Silicon/NVIDIA/Library/DxeDtPlatformDtbLoaderLib/DxeDtPlatformDtbKernelLoaderLib.c
+++ b/Silicon/NVIDIA/Library/DxeDtPlatformDtbLoaderLib/DxeDtPlatformDtbKernelLoaderLib.c
@@ -705,9 +705,7 @@ DtPlatformLoadDtb (
@@ -761,7 +761,7 @@ DtPlatformLoadDtb (
Status = gBS->CreateEventEx (
EVT_NOTIFY_SIGNAL,
TPL_CALLBACK,
- UefiDtbBoot ?
- UpdateFdt :
- InstallFdt,
+ UpdateFdt,
NULL,
Expand Down

0 comments on commit f82d959

Please sign in to comment.