summaryrefslogtreecommitdiff
path: root/QuarkPlatformPkg/Library/PlatformHelperLib/PlatformHelperDxe.c
diff options
context:
space:
mode:
Diffstat (limited to 'QuarkPlatformPkg/Library/PlatformHelperLib/PlatformHelperDxe.c')
-rw-r--r--QuarkPlatformPkg/Library/PlatformHelperLib/PlatformHelperDxe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/QuarkPlatformPkg/Library/PlatformHelperLib/PlatformHelperDxe.c b/QuarkPlatformPkg/Library/PlatformHelperLib/PlatformHelperDxe.c
index 441f7609a5..39185bc0d5 100644
--- a/QuarkPlatformPkg/Library/PlatformHelperLib/PlatformHelperDxe.c
+++ b/QuarkPlatformPkg/Library/PlatformHelperLib/PlatformHelperDxe.c
@@ -174,7 +174,7 @@ PlatformFlashLockConfig (
//
SpiProtocol = LocateSpiProtocol (NULL); // This routine will not be called in SMM.
- ASSERT_EFI_ERROR (SpiProtocol != NULL);
+ ASSERT (SpiProtocol != NULL);
if (SpiProtocol != NULL) {
Status = SpiProtocol->Lock (SpiProtocol);