phal: Added proc-pre-poweroff support
Changes:
-Adding new service which will be called during
chassis poweroff.
Test:
-Did poweroff to check, if the service file
is getting picked up or not and new added
procedure is getting called.
Signed-off-by: Chirag Sharma <chirshar@in.ibm.com>
Signed-off-by: Ramesh Iyyar <rameshi1@in.ibm.com>
Change-Id: Ic533433c4771216e5681b61cccf154f7ed029457
diff --git a/meson.build b/meson.build
index 173f2ee..bb9c5e9 100644
--- a/meson.build
+++ b/meson.build
@@ -64,6 +64,8 @@
extra_sources += [
'procedures/phal/start_host.cpp',
'procedures/phal/set_SPI_mux.cpp',
+ 'procedures/phal/proc_pre_poweroff.cpp',
+ 'procedures/phal/common_utils.cpp',
'phalerror/create_pel.cpp',
'phalerror/phal_error.cpp',
]
@@ -76,6 +78,7 @@
extra_unit_files = [
'set-spi-mux.service',
'phal-reinit-devtree.service',
+ 'proc-pre-poweroff@.service',
]
unit_subs.set('ENABLE_PHAL_TRUE', '')
endif