xref: /openbmc/phosphor-state-manager/meson.options (revision 3d5062804ce3eb4f198ffd2bed2f4f4876af8aee)
165438b6dSGeorge Liuoption('tests', type: 'feature', description: 'Build tests')
265438b6dSGeorge Liu
365438b6dSGeorge Liuoption(
471e399d4SPatrick Williams    'host-sched-objpath',
571e399d4SPatrick 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(
1171e399d4SPatrick Williams    'hypervisor-busname',
1271e399d4SPatrick 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(
1871e399d4SPatrick Williams    'hypervisor-objpath',
1971e399d4SPatrick 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(
2571e399d4SPatrick Williams    'host-state-persist-path',
2671e399d4SPatrick 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(
3271e399d4SPatrick Williams    'poh-counter-persist-path',
3371e399d4SPatrick 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(
3971e399d4SPatrick Williams    'chassis-state-change-persist-path',
4071e399d4SPatrick 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(
4671e399d4SPatrick Williams    'scheduled-host-transition-persist-path',
4771e399d4SPatrick 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(
5371e399d4SPatrick Williams    'boot-count-max-allowed',
5471e399d4SPatrick Williams    type: 'integer',
5565438b6dSGeorge Liu    value: 3,
5665438b6dSGeorge Liu    description: 'The maximum allowed reboot count.',
5765438b6dSGeorge Liu)
5865438b6dSGeorge Liu
5965438b6dSGeorge Liuoption(
6071e399d4SPatrick Williams    'class-version',
6171e399d4SPatrick Williams    type: 'integer',
6265438b6dSGeorge Liu    value: 2,
6365438b6dSGeorge Liu    description: 'Class version to register with Cereal.',
6465438b6dSGeorge Liu)
6565438b6dSGeorge Liu
6671e399d4SPatrick Williamsoption(
6771e399d4SPatrick Williams    'warm-reboot',
6871e399d4SPatrick Williams    type: 'feature',
6965438b6dSGeorge Liu    value: 'enabled',
7065438b6dSGeorge Liu    description: 'Enable warm reboots of the system',
7165438b6dSGeorge Liu)
7265438b6dSGeorge Liu
7371e399d4SPatrick Williamsoption(
7471e399d4SPatrick Williams    'force-warm-reboot',
7571e399d4SPatrick Williams    type: 'feature',
7631cddb75SAndrew Geissler    value: 'enabled',
7731cddb75SAndrew Geissler    description: 'Enable forced warm reboots of the system',
7831cddb75SAndrew Geissler)
7931cddb75SAndrew Geissler
8071e399d4SPatrick Williamsoption(
8171e399d4SPatrick Williams    'host-gpios',
8271e399d4SPatrick Williams    type: 'feature',
83966f2362SPatrick Williams    value: 'enabled',
8465438b6dSGeorge Liu    description: 'Enable gpio mechanism to check host state.',
8565438b6dSGeorge Liu)
8665438b6dSGeorge Liu
8771e399d4SPatrick Williamsoption(
8871e399d4SPatrick Williams    'host-gpios-busname',
8971e399d4SPatrick 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
9471e399d4SPatrick Williamsoption(
9571e399d4SPatrick Williams    'host-gpios-objpath',
9671e399d4SPatrick Williams    type: 'string',
9765438b6dSGeorge Liu    value: '/xyz/openbmc_project/Gpios',
9865438b6dSGeorge Liu    description: 'The host gpios Dbus root.',
9965438b6dSGeorge Liu)
10065438b6dSGeorge Liu
10171e399d4SPatrick Williamsoption(
10271e399d4SPatrick Williams    'sysfs-secure-boot-path',
10371e399d4SPatrick 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
10871e399d4SPatrick Williamsoption(
10971e399d4SPatrick Williams    'sysfs-abr-image-path',
11071e399d4SPatrick 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
11571e399d4SPatrick Williamsoption(
11671e399d4SPatrick Williams    'only-run-apr-on-power-loss',
11771e399d4SPatrick Williams    type: 'boolean',
118a15b81b4SGeorge Liu    value: false,
11971e399d4SPatrick Williams    description: 'Only run automatic restore policy due to loss of AC power.',
12065438b6dSGeorge Liu)
12165438b6dSGeorge Liu
12271e399d4SPatrick Williamsoption(
12371e399d4SPatrick Williams    'sysfs-tpm-device-path',
12471e399d4SPatrick 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
12971e399d4SPatrick Williamsoption(
13071e399d4SPatrick Williams    'sysfs-tpm-measurement-path',
13171e399d4SPatrick 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
13671e399d4SPatrick Williamsoption(
13771e399d4SPatrick Williams    'only-allow-boot-when-bmc-ready',
13871e399d4SPatrick Williams    type: 'boolean',
139a15b81b4SGeorge Liu    value: false,
14071e399d4SPatrick Williams    description: 'Only allow chassis and host power on operations when BMC is Ready.',
14165438b6dSGeorge Liu)
1429f38152aSThang Tran
14371e399d4SPatrick Williamsoption(
14471e399d4SPatrick Williams    'check-fwupdate-before-do-transition',
14571e399d4SPatrick Williams    type: 'feature',
1469f38152aSThang Tran    value: 'enabled',
14771e399d4SPatrick Williams    description: 'Only do transition request when no firmware being updated',
1489f38152aSThang Tran)
149*3d506280SPrithvi Pai
150*3d506280SPrithvi Paioption(
151*3d506280SPrithvi Pai    'apply-power-policy-bmc-ready',
152*3d506280SPrithvi Pai    type: 'feature',
153*3d506280SPrithvi Pai    value: 'enabled',
154*3d506280SPrithvi Pai    description: 'Apply the Power policy right after BMC_READY',
155*3d506280SPrithvi Pai)
156