Andrew Geissler | f245410 | 2019-12-06 15:14:08 -0600 | [diff] [blame] | 1 | option('tests', type: 'feature', description: 'Build tests') |
| 2 | |
| 3 | option( |
Andrew Geissler | a0d7bb8 | 2023-03-01 12:50:14 -0600 | [diff] [blame] | 4 | 'host-sched-objpath', type: 'string', |
| 5 | value: '/xyz/openbmc_project/scheduled/host', |
| 6 | description: 'The scheduled host Dbus root.', |
| 7 | ) |
| 8 | |
| 9 | option( |
Andrew Geissler | fe270d3 | 2021-01-27 14:06:46 -0600 | [diff] [blame] | 10 | 'hypervisor-busname', type: 'string', |
| 11 | value: 'xyz.openbmc_project.State.Hypervisor', |
| 12 | description: 'The Hypervisor DBus busname to own.', |
| 13 | ) |
| 14 | |
| 15 | option( |
| 16 | 'hypervisor-objpath', type: 'string', |
| 17 | value: '/xyz/openbmc_project/state/hypervisor', |
| 18 | description: 'The hypervisor state manager Dbus root.', |
| 19 | ) |
| 20 | |
| 21 | option( |
Andrew Geissler | f245410 | 2019-12-06 15:14:08 -0600 | [diff] [blame] | 22 | 'host-state-persist-path', type: 'string', |
Allen.Wang | ba182f0 | 2022-03-23 19:01:53 +0800 | [diff] [blame] | 23 | value: '/var/lib/phosphor-state-manager/host{}-PersistData', |
| 24 | 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] | 25 | ) |
| 26 | |
| 27 | option( |
| 28 | 'poh-counter-persist-path', type: 'string', |
Allen.Wang | ba182f0 | 2022-03-23 19:01:53 +0800 | [diff] [blame] | 29 | value: '/var/lib/phosphor-state-manager/chassis{}-POHCounter', |
| 30 | description: 'Path format of file for storing POH counter.', |
Andrew Geissler | f245410 | 2019-12-06 15:14:08 -0600 | [diff] [blame] | 31 | ) |
| 32 | |
| 33 | option( |
| 34 | 'chassis-state-change-persist-path', type: 'string', |
Allen.Wang | ba182f0 | 2022-03-23 19:01:53 +0800 | [diff] [blame] | 35 | value: '/var/lib/phosphor-state-manager/chassis{}-StateChangeTime', |
| 36 | description: 'Path format of file for storing the state change time.', |
Andrew Geissler | f245410 | 2019-12-06 15:14:08 -0600 | [diff] [blame] | 37 | ) |
| 38 | |
| 39 | option( |
Carol Wang | 1dbbef4 | 2020-03-09 11:51:23 +0800 | [diff] [blame] | 40 | '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 | |
| 45 | option( |
Andrew Geissler | f245410 | 2019-12-06 15:14:08 -0600 | [diff] [blame] | 46 | 'boot-count-max-allowed', type: 'integer', |
| 47 | value: 3, |
| 48 | description: 'The maximum allowed reboot count.', |
| 49 | ) |
| 50 | |
| 51 | option( |
| 52 | 'class-version', type: 'integer', |
NodeMan97 | b4cbfac | 2022-05-09 23:56:39 -0500 | [diff] [blame] | 53 | value: 2, |
Andrew Geissler | f245410 | 2019-12-06 15:14:08 -0600 | [diff] [blame] | 54 | description: 'Class version to register with Cereal.', |
| 55 | ) |
Carol Wang | 71230ef | 2020-02-18 17:39:49 +0800 | [diff] [blame] | 56 | |
Andrew Geissler | 7fdad60 | 2020-06-22 13:46:16 -0500 | [diff] [blame] | 57 | option('warm-reboot', type : 'feature', |
| 58 | value : 'enabled', |
| 59 | description : 'Enable warm reboots of the system', |
| 60 | ) |
Thang Tran | ba2241c | 2021-10-26 17:47:09 +0700 | [diff] [blame] | 61 | |
Andrew Geissler | 31cddb7 | 2024-02-27 14:20:26 -0600 | [diff] [blame] | 62 | option('force-warm-reboot', type : 'feature', |
| 63 | value : 'enabled', |
| 64 | description : 'Enable forced warm reboots of the system', |
| 65 | ) |
| 66 | |
Thang Tran | ba2241c | 2021-10-26 17:47:09 +0700 | [diff] [blame] | 67 | option('host-gpios', type : 'feature', |
Patrick Williams | 966f236 | 2024-04-18 21:50:20 -0500 | [diff] [blame] | 68 | value : 'enabled', |
Thang Tran | ba2241c | 2021-10-26 17:47:09 +0700 | [diff] [blame] | 69 | description : 'Enable gpio mechanism to check host state.', |
| 70 | ) |
| 71 | |
| 72 | option('host-gpios-busname', type : 'string', |
| 73 | value : 'xyz.openbmc_project.State.HostCondition.Gpio', |
| 74 | description : 'The host gpios Dbus busname to own.', |
| 75 | ) |
| 76 | |
| 77 | option('host-gpios-objpath', type : 'string', |
| 78 | value : '/xyz/openbmc_project/Gpios', |
| 79 | description : 'The host gpios Dbus root.', |
| 80 | ) |
| 81 | |
Andrew Geissler | 8d8d731 | 2022-03-04 14:42:26 -0600 | [diff] [blame] | 82 | option('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 | |
| 87 | option('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 | ) |
NodeMan97 | bcbee4a | 2022-05-27 15:28:45 -0500 | [diff] [blame] | 91 | |
| 92 | option('only-run-apr-on-power-loss', type : 'boolean', |
George Liu | a15b81b | 2023-08-16 15:53:54 +0800 | [diff] [blame] | 93 | value : false, |
NodeMan97 | bcbee4a | 2022-05-27 15:28:45 -0500 | [diff] [blame] | 94 | description : 'Only run automatic restore policy due to loss of AC power.' |
| 95 | ) |
Lakshmi Yadlapati | b454d8b | 2023-03-27 16:11:41 -0500 | [diff] [blame] | 96 | |
Lakshmi Yadlapati | 21d74d8 | 2023-07-20 17:37:22 -0500 | [diff] [blame] | 97 | option('sysfs-tpm-device-path', type : 'string', |
Eddie James | d01e1ea | 2024-12-03 10:02:44 -0600 | [diff] [blame] | 98 | value : '/sys/firmware/devicetree/base/ahb/apb@1e780000/bus@1e78a000/i2c@680/tpm@2e', |
Lakshmi Yadlapati | 21d74d8 | 2023-07-20 17:37:22 -0500 | [diff] [blame] | 99 | description : 'The sysfs path to the tpm device.', |
| 100 | ) |
| 101 | |
Lakshmi Yadlapati | b454d8b | 2023-03-27 16:11:41 -0500 | [diff] [blame] | 102 | option('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 Geissler | 629e3c4 | 2023-05-25 10:31:13 -0400 | [diff] [blame] | 107 | option('only-allow-boot-when-bmc-ready', type : 'boolean', |
George Liu | a15b81b | 2023-08-16 15:53:54 +0800 | [diff] [blame] | 108 | value : false, |
Andrew Geissler | 629e3c4 | 2023-05-25 10:31:13 -0400 | [diff] [blame] | 109 | description : 'Only allow chassis and host power on operations when BMC is Ready.' |
| 110 | ) |
Thang Tran | 9f38152 | 2024-10-18 10:11:01 +0700 | [diff] [blame^] | 111 | |
| 112 | option('check-fwupdate-before-do-transition', type : 'feature', |
| 113 | value : 'enabled', |
| 114 | description : 'Only do transition request when no firmware being updated' |
| 115 | ) |