Andrew Geissler | f245410 | 2019-12-06 15:14:08 -0600 | [diff] [blame] | 1 | option('tests', type: 'feature', description: 'Build tests') |
| 2 | |
| 3 | option( |
Patrick Williams | 71e399d | 2025-02-01 08:36:54 -0500 | [diff] [blame] | 4 | 'host-sched-objpath', |
| 5 | type: 'string', |
Andrew Geissler | a0d7bb8 | 2023-03-01 12:50:14 -0600 | [diff] [blame] | 6 | value: '/xyz/openbmc_project/scheduled/host', |
| 7 | description: 'The scheduled host Dbus root.', |
| 8 | ) |
| 9 | |
| 10 | option( |
Patrick Williams | 71e399d | 2025-02-01 08:36:54 -0500 | [diff] [blame] | 11 | 'hypervisor-busname', |
| 12 | type: 'string', |
Andrew Geissler | fe270d3 | 2021-01-27 14:06:46 -0600 | [diff] [blame] | 13 | value: 'xyz.openbmc_project.State.Hypervisor', |
| 14 | description: 'The Hypervisor DBus busname to own.', |
| 15 | ) |
| 16 | |
| 17 | option( |
Patrick Williams | 71e399d | 2025-02-01 08:36:54 -0500 | [diff] [blame] | 18 | 'hypervisor-objpath', |
| 19 | type: 'string', |
Andrew Geissler | fe270d3 | 2021-01-27 14:06:46 -0600 | [diff] [blame] | 20 | value: '/xyz/openbmc_project/state/hypervisor', |
| 21 | description: 'The hypervisor state manager Dbus root.', |
| 22 | ) |
| 23 | |
| 24 | option( |
Patrick Williams | 71e399d | 2025-02-01 08:36:54 -0500 | [diff] [blame] | 25 | 'host-state-persist-path', |
| 26 | type: 'string', |
Allen.Wang | ba182f0 | 2022-03-23 19:01:53 +0800 | [diff] [blame] | 27 | value: '/var/lib/phosphor-state-manager/host{}-PersistData', |
| 28 | description: 'Path format of file for storing requested HostState,boot progress and os status.', |
Andrew Geissler | f245410 | 2019-12-06 15:14:08 -0600 | [diff] [blame] | 29 | ) |
| 30 | |
| 31 | option( |
Patrick Williams | 71e399d | 2025-02-01 08:36:54 -0500 | [diff] [blame] | 32 | 'poh-counter-persist-path', |
| 33 | type: 'string', |
Allen.Wang | ba182f0 | 2022-03-23 19:01:53 +0800 | [diff] [blame] | 34 | value: '/var/lib/phosphor-state-manager/chassis{}-POHCounter', |
| 35 | description: 'Path format of file for storing POH counter.', |
Andrew Geissler | f245410 | 2019-12-06 15:14:08 -0600 | [diff] [blame] | 36 | ) |
| 37 | |
| 38 | option( |
Patrick Williams | 71e399d | 2025-02-01 08:36:54 -0500 | [diff] [blame] | 39 | 'chassis-state-change-persist-path', |
| 40 | type: 'string', |
Allen.Wang | ba182f0 | 2022-03-23 19:01:53 +0800 | [diff] [blame] | 41 | value: '/var/lib/phosphor-state-manager/chassis{}-StateChangeTime', |
| 42 | description: 'Path format of file for storing the state change time.', |
Andrew Geissler | f245410 | 2019-12-06 15:14:08 -0600 | [diff] [blame] | 43 | ) |
| 44 | |
| 45 | option( |
Patrick Williams | 71e399d | 2025-02-01 08:36:54 -0500 | [diff] [blame] | 46 | 'scheduled-host-transition-persist-path', |
| 47 | type: 'string', |
Carol Wang | 1dbbef4 | 2020-03-09 11:51:23 +0800 | [diff] [blame] | 48 | value: '/var/lib/phosphor-state-manager/scheduledHostTransition', |
| 49 | description: 'Path of file for storing the scheduled time and the requested transition.', |
| 50 | ) |
| 51 | |
| 52 | option( |
Patrick Williams | 71e399d | 2025-02-01 08:36:54 -0500 | [diff] [blame] | 53 | 'boot-count-max-allowed', |
| 54 | type: 'integer', |
Andrew Geissler | f245410 | 2019-12-06 15:14:08 -0600 | [diff] [blame] | 55 | value: 3, |
| 56 | description: 'The maximum allowed reboot count.', |
| 57 | ) |
| 58 | |
| 59 | option( |
Patrick Williams | 71e399d | 2025-02-01 08:36:54 -0500 | [diff] [blame] | 60 | 'class-version', |
| 61 | type: 'integer', |
NodeMan97 | b4cbfac | 2022-05-09 23:56:39 -0500 | [diff] [blame] | 62 | value: 2, |
Andrew Geissler | f245410 | 2019-12-06 15:14:08 -0600 | [diff] [blame] | 63 | description: 'Class version to register with Cereal.', |
| 64 | ) |
Carol Wang | 71230ef | 2020-02-18 17:39:49 +0800 | [diff] [blame] | 65 | |
Patrick Williams | 71e399d | 2025-02-01 08:36:54 -0500 | [diff] [blame] | 66 | option( |
| 67 | 'warm-reboot', |
| 68 | type: 'feature', |
| 69 | value: 'enabled', |
| 70 | description: 'Enable warm reboots of the system', |
Andrew Geissler | 7fdad60 | 2020-06-22 13:46:16 -0500 | [diff] [blame] | 71 | ) |
Thang Tran | ba2241c | 2021-10-26 17:47:09 +0700 | [diff] [blame] | 72 | |
Patrick Williams | 71e399d | 2025-02-01 08:36:54 -0500 | [diff] [blame] | 73 | option( |
| 74 | 'force-warm-reboot', |
| 75 | type: 'feature', |
| 76 | value: 'enabled', |
| 77 | description: 'Enable forced warm reboots of the system', |
Andrew Geissler | 31cddb7 | 2024-02-27 14:20:26 -0600 | [diff] [blame] | 78 | ) |
| 79 | |
Patrick Williams | 71e399d | 2025-02-01 08:36:54 -0500 | [diff] [blame] | 80 | option( |
| 81 | 'host-gpios', |
| 82 | type: 'feature', |
| 83 | value: 'enabled', |
| 84 | description: 'Enable gpio mechanism to check host state.', |
Thang Tran | ba2241c | 2021-10-26 17:47:09 +0700 | [diff] [blame] | 85 | ) |
| 86 | |
Patrick Williams | 71e399d | 2025-02-01 08:36:54 -0500 | [diff] [blame] | 87 | option( |
| 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 Tran | ba2241c | 2021-10-26 17:47:09 +0700 | [diff] [blame] | 92 | ) |
| 93 | |
Patrick Williams | 71e399d | 2025-02-01 08:36:54 -0500 | [diff] [blame] | 94 | option( |
| 95 | 'host-gpios-objpath', |
| 96 | type: 'string', |
| 97 | value: '/xyz/openbmc_project/Gpios', |
| 98 | description: 'The host gpios Dbus root.', |
Thang Tran | ba2241c | 2021-10-26 17:47:09 +0700 | [diff] [blame] | 99 | ) |
| 100 | |
Patrick Williams | 71e399d | 2025-02-01 08:36:54 -0500 | [diff] [blame] | 101 | option( |
| 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 Geissler | 8d8d731 | 2022-03-04 14:42:26 -0600 | [diff] [blame] | 106 | ) |
| 107 | |
Patrick Williams | 71e399d | 2025-02-01 08:36:54 -0500 | [diff] [blame] | 108 | option( |
| 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 Geissler | 8d8d731 | 2022-03-04 14:42:26 -0600 | [diff] [blame] | 113 | ) |
NodeMan97 | bcbee4a | 2022-05-27 15:28:45 -0500 | [diff] [blame] | 114 | |
Patrick Williams | 71e399d | 2025-02-01 08:36:54 -0500 | [diff] [blame] | 115 | option( |
| 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.', |
NodeMan97 | bcbee4a | 2022-05-27 15:28:45 -0500 | [diff] [blame] | 120 | ) |
Lakshmi Yadlapati | b454d8b | 2023-03-27 16:11:41 -0500 | [diff] [blame] | 121 | |
Patrick Williams | 71e399d | 2025-02-01 08:36:54 -0500 | [diff] [blame] | 122 | option( |
| 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 Yadlapati | 21d74d8 | 2023-07-20 17:37:22 -0500 | [diff] [blame] | 127 | ) |
| 128 | |
Patrick Williams | 71e399d | 2025-02-01 08:36:54 -0500 | [diff] [blame] | 129 | option( |
| 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 Yadlapati | b454d8b | 2023-03-27 16:11:41 -0500 | [diff] [blame] | 134 | ) |
| 135 | |
Patrick Williams | 71e399d | 2025-02-01 08:36:54 -0500 | [diff] [blame] | 136 | option( |
| 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 Geissler | 629e3c4 | 2023-05-25 10:31:13 -0400 | [diff] [blame] | 141 | ) |
Thang Tran | 9f38152 | 2024-10-18 10:11:01 +0700 | [diff] [blame] | 142 | |
Patrick Williams | 71e399d | 2025-02-01 08:36:54 -0500 | [diff] [blame] | 143 | option( |
| 144 | 'check-fwupdate-before-do-transition', |
| 145 | type: 'feature', |
| 146 | value: 'enabled', |
| 147 | description: 'Only do transition request when no firmware being updated', |
Thang Tran | 9f38152 | 2024-10-18 10:11:01 +0700 | [diff] [blame] | 148 | ) |
Prithvi Pai | 3d50628 | 2025-02-01 12:31:01 +0530 | [diff] [blame] | 149 | |
| 150 | option( |
| 151 | 'apply-power-policy-bmc-ready', |
| 152 | type: 'feature', |
| 153 | value: 'enabled', |
| 154 | description: 'Apply the Power policy right after BMC_READY', |
| 155 | ) |