phal: move common_utils.cpp to extensions/phal
tested: verified build
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: Ib34b0ed54010cf9e4cc2d56bfaccdf23db28b11f
diff --git a/procedures/phal/common_utils.cpp b/extensions/phal/common_utils.cpp
similarity index 98%
rename from procedures/phal/common_utils.cpp
rename to extensions/phal/common_utils.cpp
index 50742f6..e168aed 100644
--- a/procedures/phal/common_utils.cpp
+++ b/extensions/phal/common_utils.cpp
@@ -4,8 +4,8 @@
}
#include "attributes_info.H"
+#include "extensions/phal/common_utils.hpp"
#include "extensions/phal/phal_error.hpp"
-#include "procedures/phal/common_utils.hpp"
#include <fmt/format.h>
#include <libekb.H>
diff --git a/procedures/phal/common_utils.hpp b/extensions/phal/common_utils.hpp
similarity index 100%
rename from procedures/phal/common_utils.hpp
rename to extensions/phal/common_utils.hpp
diff --git a/meson.build b/meson.build
index 803a6fd..891b6b2 100644
--- a/meson.build
+++ b/meson.build
@@ -65,7 +65,7 @@
'procedures/phal/start_host.cpp',
'procedures/phal/set_SPI_mux.cpp',
'procedures/phal/proc_pre_poweroff.cpp',
- 'procedures/phal/common_utils.cpp',
+ 'extensions/phal/common_utils.cpp',
'procedures/phal/check_host_running.cpp',
'extensions/phal/create_pel.cpp',
'extensions/phal/phal_error.cpp',
diff --git a/procedures/phal/check_host_running.cpp b/procedures/phal/check_host_running.cpp
index a85bf4d..98d1e14 100644
--- a/procedures/phal/check_host_running.cpp
+++ b/procedures/phal/check_host_running.cpp
@@ -3,10 +3,9 @@
#include "libpdbg.h"
}
-#include "common_utils.hpp"
+#include "extensions/phal/common_utils.hpp"
#include "extensions/phal/create_pel.hpp"
#include "p10_cfam.hpp"
-#include "procedures/phal/common_utils.hpp"
#include "registration.hpp"
#include <phosphor-logging/log.hpp>
diff --git a/procedures/phal/proc_pre_poweroff.cpp b/procedures/phal/proc_pre_poweroff.cpp
index 658b446..1293080 100644
--- a/procedures/phal/proc_pre_poweroff.cpp
+++ b/procedures/phal/proc_pre_poweroff.cpp
@@ -1,5 +1,5 @@
+#include "extensions/phal/common_utils.hpp"
#include "extensions/phal/phal_error.hpp"
-#include "procedures/phal/common_utils.hpp"
#include "registration.hpp"
#include <libekb.H>
diff --git a/procedures/phal/start_host.cpp b/procedures/phal/start_host.cpp
index d6b0b40..6e3f683 100644
--- a/procedures/phal/start_host.cpp
+++ b/procedures/phal/start_host.cpp
@@ -5,8 +5,8 @@
#include "attributes_info.H"
+#include "extensions/phal/common_utils.hpp"
#include "extensions/phal/phal_error.hpp"
-#include "procedures/phal/common_utils.hpp"
#include "util.hpp"
#include <fmt/format.h>