PHAL: export devtree attribute support
Added function to export devtree data based on the
filter file using attributes tool based infrastructure.
Data is stored in pre defined location in BMC to restore
in the reboot path.
Tested: verified devtree data exported manually.
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I9c708483708f443a910e272615ec4c66b31e2603
diff --git a/meson_options.txt b/meson_options.txt
index 60c1f97..36117a6 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -2,3 +2,12 @@
option('p9', type: 'feature', description: 'Enable support for POWER9')
option('openfsi', type: 'feature', description: 'Enable support for OpenFSI')
option('phal', type: 'feature', description: 'Enable support for PHAL')
+
+option('DEVTREE_EXPORT_FILTER_FILE', type : 'string',
+ value : '/usr/share/pdata/preserved_attrs_list',
+ description : 'Path to the phal devtree export filter file'
+)
+option('DEVTREE_EXP_FILE', type : 'string',
+ value : '/var/lib/phal/exportdevtree',
+ description : 'Path to the devtree export copy file'
+)