1option('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(
16    'host-sched-objpath', type: 'string',
17    value: '/xyz/openbmc_project/scheduled/host',
18    description: 'The scheduled host Dbus root.',
19)
20
21option(
22    '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(
34    '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(
58    'host-state-persist-path', type: 'string',
59    value: '/var/lib/phosphor-state-manager/host{}-PersistData',
60    description: 'Path format of file for storing requested HostState,boot progress and os status.',
61)
62
63option(
64    'poh-counter-persist-path', type: 'string',
65    value: '/var/lib/phosphor-state-manager/chassis{}-POHCounter',
66    description: 'Path format of file for storing POH counter.',
67)
68
69option(
70    'chassis-state-change-persist-path', type: 'string',
71    value: '/var/lib/phosphor-state-manager/chassis{}-StateChangeTime',
72    description: 'Path format of file for storing the state change time.',
73)
74
75option(
76    '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(
82    'boot-count-max-allowed', type: 'integer',
83    value: 3,
84    description: 'The maximum allowed reboot count.',
85)
86
87option(
88    'class-version', type: 'integer',
89    value: 2,
90    description: 'Class version to register with Cereal.',
91)
92
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)
98
99option('warm-reboot', type : 'feature',
100    value : 'enabled',
101    description : 'Enable warm reboots of the system',
102)
103
104option('force-warm-reboot', type : 'feature',
105    value : 'enabled',
106    description : 'Enable forced warm reboots of the system',
107)
108
109option('host-gpios', type : 'feature',
110    value : 'enabled',
111    description : 'Enable gpio mechanism to check host state.',
112)
113
114option('host-gpios-busname', type : 'string',
115    value : 'xyz.openbmc_project.State.HostCondition.Gpio',
116    description : 'The host gpios Dbus busname to own.',
117)
118
119option('host-gpios-objpath', type : 'string',
120    value : '/xyz/openbmc_project/Gpios',
121    description : 'The host gpios Dbus root.',
122)
123
124option('sysfs-secure-boot-path', type : 'string',
125    value : '/sys/kernel/debug/aspeed/sbc/secure_boot',
126    description : 'The sysfs path to the secure boot value.',
127)
128
129option('sysfs-abr-image-path', type : 'string',
130    value : '/sys/kernel/debug/aspeed/sbc/abr_image',
131    description : 'The sysfs path to the abr image value.',
132)
133
134option('only-run-apr-on-power-loss', type : 'boolean',
135    value : false,
136    description : 'Only run automatic restore policy due to loss of AC power.'
137)
138
139option('sysfs-tpm-device-path', type : 'string',
140    value : '/sys/firmware/devicetree/base/ahb/apb/bus@1e78a000/i2c-bus@680/tpm@2e',
141    description : 'The sysfs path to the tpm device.',
142)
143
144option('sysfs-tpm-measurement-path', type : 'string',
145    value : '/sys/class/tpm/tpm0/pcr-sha256/0',
146    description : 'The sysfs path to the tpm measurement value.',
147)
148
149option('only-allow-boot-when-bmc-ready', type : 'boolean',
150    value : false,
151    description : 'Only allow chassis and host power on operations when BMC is Ready.'
152)
153