blob: 9c978a0d0fdabe2e48c289848bee58adc3dba7ac [file] [log] [blame]
Andrew Geisslerf2454102019-12-06 15:14:08 -06001option('tests', type: 'feature', description: 'Build tests')
2
3option(
4 'host-busname', type: 'string',
5 value: 'xyz.openbmc_project.State.Host',
6 description: 'The Host DBus busname to own.',
7)
8
9option(
10 'host-objpath', type: 'string',
11 value: '/xyz/openbmc_project/state/host',
12 description: 'The host state manager Dbus root.',
13)
14
15option(
Andrew Geisslera0d7bb82023-03-01 12:50:14 -060016 'host-sched-objpath', type: 'string',
17 value: '/xyz/openbmc_project/scheduled/host',
18 description: 'The scheduled host Dbus root.',
19)
20
21option(
Andrew Geisslerfe270d32021-01-27 14:06:46 -060022 'hypervisor-busname', type: 'string',
23 value: 'xyz.openbmc_project.State.Hypervisor',
24 description: 'The Hypervisor DBus busname to own.',
25)
26
27option(
28 'hypervisor-objpath', type: 'string',
29 value: '/xyz/openbmc_project/state/hypervisor',
30 description: 'The hypervisor state manager Dbus root.',
31)
32
33option(
Andrew Geisslerf2454102019-12-06 15:14:08 -060034 'chassis-busname', type: 'string',
35 value: 'xyz.openbmc_project.State.Chassis',
36 description: 'The Chassis DBus busname to own.',
37)
38
39option(
40 'chassis-objpath', type: 'string',
41 value: '/xyz/openbmc_project/state/chassis',
42 description: 'The chassis state manager Dbus root.',
43)
44
45option(
46 'bmc-busname', type: 'string',
47 value: 'xyz.openbmc_project.State.BMC',
48 description: 'The BMC DBus busname to own.',
49)
50
51option(
52 'bmc-objpath', type: 'string',
53 value: '/xyz/openbmc_project/state/bmc',
54 description: 'The bmc state manager Dbus root.',
55)
56
57option(
Andrew Geisslerf2454102019-12-06 15:14:08 -060058 'host-state-persist-path', type: 'string',
Allen.Wangba182f02022-03-23 19:01:53 +080059 value: '/var/lib/phosphor-state-manager/host{}-PersistData',
60 description: 'Path format of file for storing requested HostState,boot progress and os status.',
Andrew Geisslerf2454102019-12-06 15:14:08 -060061)
62
63option(
64 'poh-counter-persist-path', type: 'string',
Allen.Wangba182f02022-03-23 19:01:53 +080065 value: '/var/lib/phosphor-state-manager/chassis{}-POHCounter',
66 description: 'Path format of file for storing POH counter.',
Andrew Geisslerf2454102019-12-06 15:14:08 -060067)
68
69option(
70 'chassis-state-change-persist-path', type: 'string',
Allen.Wangba182f02022-03-23 19:01:53 +080071 value: '/var/lib/phosphor-state-manager/chassis{}-StateChangeTime',
72 description: 'Path format of file for storing the state change time.',
Andrew Geisslerf2454102019-12-06 15:14:08 -060073)
74
75option(
Carol Wang1dbbef42020-03-09 11:51:23 +080076 'scheduled-host-transition-persist-path', type: 'string',
77 value: '/var/lib/phosphor-state-manager/scheduledHostTransition',
78 description: 'Path of file for storing the scheduled time and the requested transition.',
79)
80
81option(
Andrew Geisslerf2454102019-12-06 15:14:08 -060082 'boot-count-max-allowed', type: 'integer',
83 value: 3,
84 description: 'The maximum allowed reboot count.',
85)
86
87option(
88 'class-version', type: 'integer',
NodeMan97b4cbfac2022-05-09 23:56:39 -050089 value: 2,
Andrew Geisslerf2454102019-12-06 15:14:08 -060090 description: 'Class version to register with Cereal.',
91)
Carol Wang71230ef2020-02-18 17:39:49 +080092
93option(
94 'scheduled-host-transition-busname', type: 'string',
95 value: 'xyz.openbmc_project.State.ScheduledHostTransition',
96 description: 'The scheduled host transition Dbus busname to own.',
97)
Andrew Geissler7fdad602020-06-22 13:46:16 -050098
99option('warm-reboot', type : 'feature',
100 value : 'enabled',
101 description : 'Enable warm reboots of the system',
102)
Thang Tranba2241c2021-10-26 17:47:09 +0700103
104option('host-gpios', type : 'feature',
105 value : 'disabled',
106 description : 'Enable gpio mechanism to check host state.',
107)
108
109option('host-gpios-busname', type : 'string',
110 value : 'xyz.openbmc_project.State.HostCondition.Gpio',
111 description : 'The host gpios Dbus busname to own.',
112)
113
114option('host-gpios-objpath', type : 'string',
115 value : '/xyz/openbmc_project/Gpios',
116 description : 'The host gpios Dbus root.',
117)
118
Andrew Geissler8d8d7312022-03-04 14:42:26 -0600119option('sysfs-secure-boot-path', type : 'string',
120 value : '/sys/kernel/debug/aspeed/sbc/secure_boot',
121 description : 'The sysfs path to the secure boot value.',
122)
123
124option('sysfs-abr-image-path', type : 'string',
125 value : '/sys/kernel/debug/aspeed/sbc/abr_image',
126 description : 'The sysfs path to the abr image value.',
127)
NodeMan97bcbee4a2022-05-27 15:28:45 -0500128
129option('only-run-apr-on-power-loss', type : 'boolean',
130 value : 'false',
131 description : 'Only run automatic restore policy due to loss of AC power.'
132)
Lakshmi Yadlapatib454d8b2023-03-27 16:11:41 -0500133
134option('sysfs-tpm-measurement-path', type : 'string',
135 value : '/sys/class/tpm/tpm0/pcr-sha256/0',
136 description : 'The sysfs path to the tpm measurement value.',
137)
138