Revert "gbmc-release-23.18.x: Add hacks for NERF to go to UEFIboot"

This reverts commit d32c0b3bca75d8ba0be73da5a6e8be6f8743a36c.

Reason for revert: This was a temporary hack.

Change-Id: I9d1cd205536ffe2c9433fc40c1ec49f2e86b91aa
Google-Bug-Id: 290979503
Signed-off-by: Brandon Kim <brandonkim@google.com>
diff --git a/recipes-google/ipmi/google-ipmi-sys/0001-handler-Add-workarounds-for-NERF-to-go-BM_MODE.patch b/recipes-google/ipmi/google-ipmi-sys/0001-handler-Add-workarounds-for-NERF-to-go-BM_MODE.patch
deleted file mode 100644
index bd27d90..0000000
--- a/recipes-google/ipmi/google-ipmi-sys/0001-handler-Add-workarounds-for-NERF-to-go-BM_MODE.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From 1f1ace1531857c9e3bbc41d6a0eba58b9459561f Mon Sep 17 00:00:00 2001
-From: Brandon Kim <brandonkim@google.com>
-Date: Sat, 5 Aug 2023 01:07:08 +0000
-Subject: [PATCH] handler: Add workarounds for NERF to go BM_MODE
-
-This is required until we have a new Nanny and NERF image.
-
-Google-Bug-Id: 290979503
-Signed-off-by: Brandon Kim <brandonkim@google.com>
-Change-Id: I0e5a8340048362e610e235594b27e8450c6f28c1
----
- handler.cpp | 10 ++++++----
- 1 file changed, 6 insertions(+), 4 deletions(-)
-
-diff --git a/handler.cpp b/handler.cpp
-index 4046871..3ae79ab 100644
---- a/handler.cpp
-+++ b/handler.cpp
-@@ -101,21 +101,23 @@ uint8_t isBmcInBareMetalMode()
-         return static_cast<uint8_t>(BmcMode::BM_MODE);
-     }
- 
-+    /// TODO(b/290979503): Remove below workarounds after new Nanny is deployed
-     if (fs::exists(BM_SIGNAL_PATH, ec))
-     {
--        if (!fs::exists(bmDriveCleaningFlagPath, ec))
-+        if (!fs::exists(bmDriveCleaningDoneAckFlagPath, ec))
-         {
-             std::ofstream ofs;
--            ofs.open(bmDriveCleaningFlagPath, std::ofstream::out);
-+            ofs.open(bmDriveCleaningDoneAckFlagPath, std::ofstream::out);
-             ofs.close();
-         }
- 
-         std::fprintf(
-             stderr,
--            "%s exists and no done/ack flag, we must be in BM cleaning mode\n",
-+            "%s exists and no done/ack flag, we must be in BM mode (WORKAROUD)\n",
-             BM_SIGNAL_PATH);
--        return static_cast<uint8_t>(BmcMode::BM_CLEANING_MODE);
-+        return static_cast<uint8_t>(BmcMode::BM_MODE);
-     }
-+    /// TODO(b/290979503): (Up to here)
- 
-     std::fprintf(
-         stderr,
--- 
-2.41.0.640.ga95def55d0-goog
-
diff --git a/recipes-google/ipmi/google-ipmi-sys_%.bbappend b/recipes-google/ipmi/google-ipmi-sys_%.bbappend
index 76147de..6a1bb98 100644
--- a/recipes-google/ipmi/google-ipmi-sys_%.bbappend
+++ b/recipes-google/ipmi/google-ipmi-sys_%.bbappend
@@ -1,5 +1,2 @@
 FILESEXTRAPATHS:prepend:gbmc := "${THISDIR}/${PN}:"
-SRC_URI:append:gbmc = " \
-    file://0001-Add-flags-for-bmc-modes-transitions.patch \
-    file://0001-handler-Add-workarounds-for-NERF-to-go-BM_MODE.patch \
-"
+SRC_URI:append:gbmc = " file://0001-Add-flags-for-bmc-modes-transitions.patch"