blob: b4e1ad4baff1d8031d9608465daa435f15fe58cd [file] [log] [blame]
Andrew Geisslerf2454102019-12-06 15:14:08 -06001option('tests', type: 'feature', description: 'Build tests')
2
3option(
Patrick Williams71e399d2025-02-01 08:36:54 -05004 'host-sched-objpath',
5 type: 'string',
Andrew Geisslera0d7bb82023-03-01 12:50:14 -06006 value: '/xyz/openbmc_project/scheduled/host',
7 description: 'The scheduled host Dbus root.',
8)
9
10option(
Patrick Williams71e399d2025-02-01 08:36:54 -050011 'hypervisor-busname',
12 type: 'string',
Andrew Geisslerfe270d32021-01-27 14:06:46 -060013 value: 'xyz.openbmc_project.State.Hypervisor',
14 description: 'The Hypervisor DBus busname to own.',
15)
16
17option(
Patrick Williams71e399d2025-02-01 08:36:54 -050018 'hypervisor-objpath',
19 type: 'string',
Andrew Geisslerfe270d32021-01-27 14:06:46 -060020 value: '/xyz/openbmc_project/state/hypervisor',
21 description: 'The hypervisor state manager Dbus root.',
22)
23
24option(
Patrick Williams71e399d2025-02-01 08:36:54 -050025 'host-state-persist-path',
26 type: 'string',
Allen.Wangba182f02022-03-23 19:01:53 +080027 value: '/var/lib/phosphor-state-manager/host{}-PersistData',
28 description: 'Path format of file for storing requested HostState,boot progress and os status.',
Andrew Geisslerf2454102019-12-06 15:14:08 -060029)
30
31option(
Patrick Williams71e399d2025-02-01 08:36:54 -050032 'poh-counter-persist-path',
33 type: 'string',
Allen.Wangba182f02022-03-23 19:01:53 +080034 value: '/var/lib/phosphor-state-manager/chassis{}-POHCounter',
35 description: 'Path format of file for storing POH counter.',
Andrew Geisslerf2454102019-12-06 15:14:08 -060036)
37
38option(
Patrick Williams71e399d2025-02-01 08:36:54 -050039 'chassis-state-change-persist-path',
40 type: 'string',
Allen.Wangba182f02022-03-23 19:01:53 +080041 value: '/var/lib/phosphor-state-manager/chassis{}-StateChangeTime',
42 description: 'Path format of file for storing the state change time.',
Andrew Geisslerf2454102019-12-06 15:14:08 -060043)
44
45option(
Patrick Williams71e399d2025-02-01 08:36:54 -050046 'scheduled-host-transition-persist-path',
47 type: 'string',
Carol Wang1dbbef42020-03-09 11:51:23 +080048 value: '/var/lib/phosphor-state-manager/scheduledHostTransition',
49 description: 'Path of file for storing the scheduled time and the requested transition.',
50)
51
52option(
Patrick Williams71e399d2025-02-01 08:36:54 -050053 'boot-count-max-allowed',
54 type: 'integer',
Andrew Geisslerf2454102019-12-06 15:14:08 -060055 value: 3,
56 description: 'The maximum allowed reboot count.',
57)
58
59option(
Patrick Williams71e399d2025-02-01 08:36:54 -050060 'class-version',
61 type: 'integer',
NodeMan97b4cbfac2022-05-09 23:56:39 -050062 value: 2,
Andrew Geisslerf2454102019-12-06 15:14:08 -060063 description: 'Class version to register with Cereal.',
64)
Carol Wang71230ef2020-02-18 17:39:49 +080065
Patrick Williams71e399d2025-02-01 08:36:54 -050066option(
67 'warm-reboot',
68 type: 'feature',
69 value: 'enabled',
70 description: 'Enable warm reboots of the system',
Andrew Geissler7fdad602020-06-22 13:46:16 -050071)
Thang Tranba2241c2021-10-26 17:47:09 +070072
Patrick Williams71e399d2025-02-01 08:36:54 -050073option(
74 'force-warm-reboot',
75 type: 'feature',
76 value: 'enabled',
77 description: 'Enable forced warm reboots of the system',
Andrew Geissler31cddb72024-02-27 14:20:26 -060078)
79
Patrick Williams71e399d2025-02-01 08:36:54 -050080option(
81 'host-gpios',
82 type: 'feature',
83 value: 'enabled',
84 description: 'Enable gpio mechanism to check host state.',
Thang Tranba2241c2021-10-26 17:47:09 +070085)
86
Patrick Williams71e399d2025-02-01 08:36:54 -050087option(
88 'host-gpios-busname',
89 type: 'string',
90 value: 'xyz.openbmc_project.State.HostCondition.Gpio',
91 description: 'The host gpios Dbus busname to own.',
Thang Tranba2241c2021-10-26 17:47:09 +070092)
93
Patrick Williams71e399d2025-02-01 08:36:54 -050094option(
95 'host-gpios-objpath',
96 type: 'string',
97 value: '/xyz/openbmc_project/Gpios',
98 description: 'The host gpios Dbus root.',
Thang Tranba2241c2021-10-26 17:47:09 +070099)
100
Patrick Williams71e399d2025-02-01 08:36:54 -0500101option(
102 'sysfs-secure-boot-path',
103 type: 'string',
104 value: '/sys/kernel/debug/aspeed/sbc/secure_boot',
105 description: 'The sysfs path to the secure boot value.',
Andrew Geissler8d8d7312022-03-04 14:42:26 -0600106)
107
Patrick Williams71e399d2025-02-01 08:36:54 -0500108option(
109 'sysfs-abr-image-path',
110 type: 'string',
111 value: '/sys/kernel/debug/aspeed/sbc/abr_image',
112 description: 'The sysfs path to the abr image value.',
Andrew Geissler8d8d7312022-03-04 14:42:26 -0600113)
NodeMan97bcbee4a2022-05-27 15:28:45 -0500114
Patrick Williams71e399d2025-02-01 08:36:54 -0500115option(
116 'only-run-apr-on-power-loss',
117 type: 'boolean',
118 value: false,
119 description: 'Only run automatic restore policy due to loss of AC power.',
NodeMan97bcbee4a2022-05-27 15:28:45 -0500120)
Lakshmi Yadlapatib454d8b2023-03-27 16:11:41 -0500121
Patrick Williams71e399d2025-02-01 08:36:54 -0500122option(
123 'sysfs-tpm-device-path',
124 type: 'string',
125 value: '/sys/firmware/devicetree/base/ahb/apb@1e780000/bus@1e78a000/i2c@680/tpm@2e',
126 description: 'The sysfs path to the tpm device.',
Lakshmi Yadlapati21d74d82023-07-20 17:37:22 -0500127)
128
Patrick Williams71e399d2025-02-01 08:36:54 -0500129option(
130 'sysfs-tpm-measurement-path',
131 type: 'string',
132 value: '/sys/class/tpm/tpm0/pcr-sha256/0',
133 description: 'The sysfs path to the tpm measurement value.',
Lakshmi Yadlapatib454d8b2023-03-27 16:11:41 -0500134)
135
Patrick Williams71e399d2025-02-01 08:36:54 -0500136option(
137 'only-allow-boot-when-bmc-ready',
138 type: 'boolean',
139 value: false,
140 description: 'Only allow chassis and host power on operations when BMC is Ready.',
Andrew Geissler629e3c42023-05-25 10:31:13 -0400141)
Thang Tran9f381522024-10-18 10:11:01 +0700142
Patrick Williams71e399d2025-02-01 08:36:54 -0500143option(
144 'check-fwupdate-before-do-transition',
145 type: 'feature',
146 value: 'enabled',
147 description: 'Only do transition request when no firmware being updated',
Thang Tran9f381522024-10-18 10:11:01 +0700148)
Prithvi Pai3d506282025-02-01 12:31:01 +0530149
150option(
151 'apply-power-policy-bmc-ready',
152 type: 'feature',
153 value: 'enabled',
154 description: 'Apply the Power policy right after BMC_READY',
155)