PHAL: enabled devtree attributes reinit during boot
This commit enables the devtree attribute reinitialization
during boot process by adding reinitDevtree procedure in the
phal-reinit-devtree.service.
Tested: verified normal poweron.
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I17b66966ff46ce307e36c5fd8b7f2ede399cb0a4
diff --git a/service_files/phal-reinit-devtree.service.in b/service_files/phal-reinit-devtree.service.in
index 823b01c..e6ba4a6 100644
--- a/service_files/phal-reinit-devtree.service.in
+++ b/service_files/phal-reinit-devtree.service.in
@@ -8,6 +8,7 @@
RemainAfterExit=no
ExecStart=/bin/rm -f /var/lib/phal/genesisboot
ExecStart=/bin/rm -f /var/lib/phal/exportdevtree
+ExecStart=/usr/bin/openpower-proc-control reinitDevtree
[Install]
RequiredBy=obmc-host-start@0.target