xref: /openbmc/phosphor-state-manager/meson.options (revision 71e399d4c9313fb4426c02bd368e46b9214a7058)
165438b6dSGeorge Liuoption('tests', type: 'feature', description: 'Build tests')
265438b6dSGeorge Liu
365438b6dSGeorge Liuoption(
4*71e399d4SPatrick Williams    'host-sched-objpath',
5*71e399d4SPatrick Williams    type: 'string',
665438b6dSGeorge Liu    value: '/xyz/openbmc_project/scheduled/host',
765438b6dSGeorge Liu    description: 'The scheduled host Dbus root.',
865438b6dSGeorge Liu)
965438b6dSGeorge Liu
1065438b6dSGeorge Liuoption(
11*71e399d4SPatrick Williams    'hypervisor-busname',
12*71e399d4SPatrick Williams    type: 'string',
1365438b6dSGeorge Liu    value: 'xyz.openbmc_project.State.Hypervisor',
1465438b6dSGeorge Liu    description: 'The Hypervisor DBus busname to own.',
1565438b6dSGeorge Liu)
1665438b6dSGeorge Liu
1765438b6dSGeorge Liuoption(
18*71e399d4SPatrick Williams    'hypervisor-objpath',
19*71e399d4SPatrick Williams    type: 'string',
2065438b6dSGeorge Liu    value: '/xyz/openbmc_project/state/hypervisor',
2165438b6dSGeorge Liu    description: 'The hypervisor state manager Dbus root.',
2265438b6dSGeorge Liu)
2365438b6dSGeorge Liu
2465438b6dSGeorge Liuoption(
25*71e399d4SPatrick Williams    'host-state-persist-path',
26*71e399d4SPatrick Williams    type: 'string',
2765438b6dSGeorge Liu    value: '/var/lib/phosphor-state-manager/host{}-PersistData',
2865438b6dSGeorge Liu    description: 'Path format of file for storing requested HostState,boot progress and os status.',
2965438b6dSGeorge Liu)
3065438b6dSGeorge Liu
3165438b6dSGeorge Liuoption(
32*71e399d4SPatrick Williams    'poh-counter-persist-path',
33*71e399d4SPatrick Williams    type: 'string',
3465438b6dSGeorge Liu    value: '/var/lib/phosphor-state-manager/chassis{}-POHCounter',
3565438b6dSGeorge Liu    description: 'Path format of file for storing POH counter.',
3665438b6dSGeorge Liu)
3765438b6dSGeorge Liu
3865438b6dSGeorge Liuoption(
39*71e399d4SPatrick Williams    'chassis-state-change-persist-path',
40*71e399d4SPatrick Williams    type: 'string',
4165438b6dSGeorge Liu    value: '/var/lib/phosphor-state-manager/chassis{}-StateChangeTime',
4265438b6dSGeorge Liu    description: 'Path format of file for storing the state change time.',
4365438b6dSGeorge Liu)
4465438b6dSGeorge Liu
4565438b6dSGeorge Liuoption(
46*71e399d4SPatrick Williams    'scheduled-host-transition-persist-path',
47*71e399d4SPatrick Williams    type: 'string',
4865438b6dSGeorge Liu    value: '/var/lib/phosphor-state-manager/scheduledHostTransition',
4965438b6dSGeorge Liu    description: 'Path of file for storing the scheduled time and the requested transition.',
5065438b6dSGeorge Liu)
5165438b6dSGeorge Liu
5265438b6dSGeorge Liuoption(
53*71e399d4SPatrick Williams    'boot-count-max-allowed',
54*71e399d4SPatrick Williams    type: 'integer',
5565438b6dSGeorge Liu    value: 3,
5665438b6dSGeorge Liu    description: 'The maximum allowed reboot count.',
5765438b6dSGeorge Liu)
5865438b6dSGeorge Liu
5965438b6dSGeorge Liuoption(
60*71e399d4SPatrick Williams    'class-version',
61*71e399d4SPatrick Williams    type: 'integer',
6265438b6dSGeorge Liu    value: 2,
6365438b6dSGeorge Liu    description: 'Class version to register with Cereal.',
6465438b6dSGeorge Liu)
6565438b6dSGeorge Liu
66*71e399d4SPatrick Williamsoption(
67*71e399d4SPatrick Williams    'warm-reboot',
68*71e399d4SPatrick Williams    type: 'feature',
6965438b6dSGeorge Liu    value: 'enabled',
7065438b6dSGeorge Liu    description: 'Enable warm reboots of the system',
7165438b6dSGeorge Liu)
7265438b6dSGeorge Liu
73*71e399d4SPatrick Williamsoption(
74*71e399d4SPatrick Williams    'force-warm-reboot',
75*71e399d4SPatrick Williams    type: 'feature',
7631cddb75SAndrew Geissler    value: 'enabled',
7731cddb75SAndrew Geissler    description: 'Enable forced warm reboots of the system',
7831cddb75SAndrew Geissler)
7931cddb75SAndrew Geissler
80*71e399d4SPatrick Williamsoption(
81*71e399d4SPatrick Williams    'host-gpios',
82*71e399d4SPatrick Williams    type: 'feature',
83966f2362SPatrick Williams    value: 'enabled',
8465438b6dSGeorge Liu    description: 'Enable gpio mechanism to check host state.',
8565438b6dSGeorge Liu)
8665438b6dSGeorge Liu
87*71e399d4SPatrick Williamsoption(
88*71e399d4SPatrick Williams    'host-gpios-busname',
89*71e399d4SPatrick Williams    type: 'string',
9065438b6dSGeorge Liu    value: 'xyz.openbmc_project.State.HostCondition.Gpio',
9165438b6dSGeorge Liu    description: 'The host gpios Dbus busname to own.',
9265438b6dSGeorge Liu)
9365438b6dSGeorge Liu
94*71e399d4SPatrick Williamsoption(
95*71e399d4SPatrick Williams    'host-gpios-objpath',
96*71e399d4SPatrick Williams    type: 'string',
9765438b6dSGeorge Liu    value: '/xyz/openbmc_project/Gpios',
9865438b6dSGeorge Liu    description: 'The host gpios Dbus root.',
9965438b6dSGeorge Liu)
10065438b6dSGeorge Liu
101*71e399d4SPatrick Williamsoption(
102*71e399d4SPatrick Williams    'sysfs-secure-boot-path',
103*71e399d4SPatrick Williams    type: 'string',
10465438b6dSGeorge Liu    value: '/sys/kernel/debug/aspeed/sbc/secure_boot',
10565438b6dSGeorge Liu    description: 'The sysfs path to the secure boot value.',
10665438b6dSGeorge Liu)
10765438b6dSGeorge Liu
108*71e399d4SPatrick Williamsoption(
109*71e399d4SPatrick Williams    'sysfs-abr-image-path',
110*71e399d4SPatrick Williams    type: 'string',
11165438b6dSGeorge Liu    value: '/sys/kernel/debug/aspeed/sbc/abr_image',
11265438b6dSGeorge Liu    description: 'The sysfs path to the abr image value.',
11365438b6dSGeorge Liu)
11465438b6dSGeorge Liu
115*71e399d4SPatrick Williamsoption(
116*71e399d4SPatrick Williams    'only-run-apr-on-power-loss',
117*71e399d4SPatrick Williams    type: 'boolean',
118a15b81b4SGeorge Liu    value: false,
119*71e399d4SPatrick Williams    description: 'Only run automatic restore policy due to loss of AC power.',
12065438b6dSGeorge Liu)
12165438b6dSGeorge Liu
122*71e399d4SPatrick Williamsoption(
123*71e399d4SPatrick Williams    'sysfs-tpm-device-path',
124*71e399d4SPatrick Williams    type: 'string',
125d01e1eaaSEddie James    value: '/sys/firmware/devicetree/base/ahb/apb@1e780000/bus@1e78a000/i2c@680/tpm@2e',
12665438b6dSGeorge Liu    description: 'The sysfs path to the tpm device.',
12765438b6dSGeorge Liu)
12865438b6dSGeorge Liu
129*71e399d4SPatrick Williamsoption(
130*71e399d4SPatrick Williams    'sysfs-tpm-measurement-path',
131*71e399d4SPatrick Williams    type: 'string',
13265438b6dSGeorge Liu    value: '/sys/class/tpm/tpm0/pcr-sha256/0',
13365438b6dSGeorge Liu    description: 'The sysfs path to the tpm measurement value.',
13465438b6dSGeorge Liu)
13565438b6dSGeorge Liu
136*71e399d4SPatrick Williamsoption(
137*71e399d4SPatrick Williams    'only-allow-boot-when-bmc-ready',
138*71e399d4SPatrick Williams    type: 'boolean',
139a15b81b4SGeorge Liu    value: false,
140*71e399d4SPatrick Williams    description: 'Only allow chassis and host power on operations when BMC is Ready.',
14165438b6dSGeorge Liu)
1429f38152aSThang Tran
143*71e399d4SPatrick Williamsoption(
144*71e399d4SPatrick Williams    'check-fwupdate-before-do-transition',
145*71e399d4SPatrick Williams    type: 'feature',
1469f38152aSThang Tran    value: 'enabled',
147*71e399d4SPatrick Williams    description: 'Only do transition request when no firmware being updated',
1489f38152aSThang Tran)
149