blob: 94aa7148d563be2eeab1e0236aff26f68669af59 [file] [log] [blame]
Andrew Geisslerf2454102019-12-06 15:14:08 -06001option('tests', type: 'feature', description: 'Build tests')
2
3option(
Andrew Geisslera0d7bb82023-03-01 12:50:14 -06004 'host-sched-objpath', type: 'string',
5 value: '/xyz/openbmc_project/scheduled/host',
6 description: 'The scheduled host Dbus root.',
7)
8
9option(
Andrew Geisslerfe270d32021-01-27 14:06:46 -060010 'hypervisor-busname', type: 'string',
11 value: 'xyz.openbmc_project.State.Hypervisor',
12 description: 'The Hypervisor DBus busname to own.',
13)
14
15option(
16 'hypervisor-objpath', type: 'string',
17 value: '/xyz/openbmc_project/state/hypervisor',
18 description: 'The hypervisor state manager Dbus root.',
19)
20
21option(
Andrew Geisslerf2454102019-12-06 15:14:08 -060022 'host-state-persist-path', type: 'string',
Allen.Wangba182f02022-03-23 19:01:53 +080023 value: '/var/lib/phosphor-state-manager/host{}-PersistData',
24 description: 'Path format of file for storing requested HostState,boot progress and os status.',
Andrew Geisslerf2454102019-12-06 15:14:08 -060025)
26
27option(
28 'poh-counter-persist-path', type: 'string',
Allen.Wangba182f02022-03-23 19:01:53 +080029 value: '/var/lib/phosphor-state-manager/chassis{}-POHCounter',
30 description: 'Path format of file for storing POH counter.',
Andrew Geisslerf2454102019-12-06 15:14:08 -060031)
32
33option(
34 'chassis-state-change-persist-path', type: 'string',
Allen.Wangba182f02022-03-23 19:01:53 +080035 value: '/var/lib/phosphor-state-manager/chassis{}-StateChangeTime',
36 description: 'Path format of file for storing the state change time.',
Andrew Geisslerf2454102019-12-06 15:14:08 -060037)
38
39option(
Carol Wang1dbbef42020-03-09 11:51:23 +080040 'scheduled-host-transition-persist-path', type: 'string',
41 value: '/var/lib/phosphor-state-manager/scheduledHostTransition',
42 description: 'Path of file for storing the scheduled time and the requested transition.',
43)
44
45option(
Andrew Geisslerf2454102019-12-06 15:14:08 -060046 'boot-count-max-allowed', type: 'integer',
47 value: 3,
48 description: 'The maximum allowed reboot count.',
49)
50
51option(
52 'class-version', type: 'integer',
NodeMan97b4cbfac2022-05-09 23:56:39 -050053 value: 2,
Andrew Geisslerf2454102019-12-06 15:14:08 -060054 description: 'Class version to register with Cereal.',
55)
Carol Wang71230ef2020-02-18 17:39:49 +080056
Andrew Geissler7fdad602020-06-22 13:46:16 -050057option('warm-reboot', type : 'feature',
58 value : 'enabled',
59 description : 'Enable warm reboots of the system',
60)
Thang Tranba2241c2021-10-26 17:47:09 +070061
Andrew Geissler31cddb72024-02-27 14:20:26 -060062option('force-warm-reboot', type : 'feature',
63 value : 'enabled',
64 description : 'Enable forced warm reboots of the system',
65)
66
Thang Tranba2241c2021-10-26 17:47:09 +070067option('host-gpios', type : 'feature',
Patrick Williams966f2362024-04-18 21:50:20 -050068 value : 'enabled',
Thang Tranba2241c2021-10-26 17:47:09 +070069 description : 'Enable gpio mechanism to check host state.',
70)
71
72option('host-gpios-busname', type : 'string',
73 value : 'xyz.openbmc_project.State.HostCondition.Gpio',
74 description : 'The host gpios Dbus busname to own.',
75)
76
77option('host-gpios-objpath', type : 'string',
78 value : '/xyz/openbmc_project/Gpios',
79 description : 'The host gpios Dbus root.',
80)
81
Andrew Geissler8d8d7312022-03-04 14:42:26 -060082option('sysfs-secure-boot-path', type : 'string',
83 value : '/sys/kernel/debug/aspeed/sbc/secure_boot',
84 description : 'The sysfs path to the secure boot value.',
85)
86
87option('sysfs-abr-image-path', type : 'string',
88 value : '/sys/kernel/debug/aspeed/sbc/abr_image',
89 description : 'The sysfs path to the abr image value.',
90)
NodeMan97bcbee4a2022-05-27 15:28:45 -050091
92option('only-run-apr-on-power-loss', type : 'boolean',
George Liua15b81b2023-08-16 15:53:54 +080093 value : false,
NodeMan97bcbee4a2022-05-27 15:28:45 -050094 description : 'Only run automatic restore policy due to loss of AC power.'
95)
Lakshmi Yadlapatib454d8b2023-03-27 16:11:41 -050096
Lakshmi Yadlapati21d74d82023-07-20 17:37:22 -050097option('sysfs-tpm-device-path', type : 'string',
Eddie Jamesd01e1ea2024-12-03 10:02:44 -060098 value : '/sys/firmware/devicetree/base/ahb/apb@1e780000/bus@1e78a000/i2c@680/tpm@2e',
Lakshmi Yadlapati21d74d82023-07-20 17:37:22 -050099 description : 'The sysfs path to the tpm device.',
100)
101
Lakshmi Yadlapatib454d8b2023-03-27 16:11:41 -0500102option('sysfs-tpm-measurement-path', type : 'string',
103 value : '/sys/class/tpm/tpm0/pcr-sha256/0',
104 description : 'The sysfs path to the tpm measurement value.',
105)
106
Andrew Geissler629e3c42023-05-25 10:31:13 -0400107option('only-allow-boot-when-bmc-ready', type : 'boolean',
George Liua15b81b2023-08-16 15:53:54 +0800108 value : false,
Andrew Geissler629e3c42023-05-25 10:31:13 -0400109 description : 'Only allow chassis and host power on operations when BMC is Ready.'
110)
Thang Tran9f381522024-10-18 10:11:01 +0700111
112option('check-fwupdate-before-do-transition', type : 'feature',
113 value : 'enabled',
114 description : 'Only do transition request when no firmware being updated'
115)