| Andrew Geissler | f245410 | 2019-12-06 15:14:08 -0600 | [diff] [blame] | 1 | option('tests', type: 'feature', description: 'Build tests') | 
 | 2 |  | 
 | 3 | option( | 
 | 4 |     'host-busname', type: 'string', | 
 | 5 |     value: 'xyz.openbmc_project.State.Host', | 
 | 6 |     description: 'The Host DBus busname to own.', | 
 | 7 | ) | 
 | 8 |  | 
 | 9 | option( | 
 | 10 |     'host-objpath', type: 'string', | 
 | 11 |     value: '/xyz/openbmc_project/state/host', | 
 | 12 |     description: 'The host state manager Dbus root.', | 
 | 13 | ) | 
 | 14 |  | 
 | 15 | option( | 
| Andrew Geissler | a0d7bb8 | 2023-03-01 12:50:14 -0600 | [diff] [blame] | 16 |     'host-sched-objpath', type: 'string', | 
 | 17 |     value: '/xyz/openbmc_project/scheduled/host', | 
 | 18 |     description: 'The scheduled host Dbus root.', | 
 | 19 | ) | 
 | 20 |  | 
 | 21 | option( | 
| Andrew Geissler | fe270d3 | 2021-01-27 14:06:46 -0600 | [diff] [blame] | 22 |     'hypervisor-busname', type: 'string', | 
 | 23 |     value: 'xyz.openbmc_project.State.Hypervisor', | 
 | 24 |     description: 'The Hypervisor DBus busname to own.', | 
 | 25 | ) | 
 | 26 |  | 
 | 27 | option( | 
 | 28 |     'hypervisor-objpath', type: 'string', | 
 | 29 |     value: '/xyz/openbmc_project/state/hypervisor', | 
 | 30 |     description: 'The hypervisor state manager Dbus root.', | 
 | 31 | ) | 
 | 32 |  | 
 | 33 | option( | 
| Andrew Geissler | f245410 | 2019-12-06 15:14:08 -0600 | [diff] [blame] | 34 |     'chassis-busname', type: 'string', | 
 | 35 |     value: 'xyz.openbmc_project.State.Chassis', | 
 | 36 |     description: 'The Chassis DBus busname to own.', | 
 | 37 | ) | 
 | 38 |  | 
 | 39 | option( | 
 | 40 |     'chassis-objpath', type: 'string', | 
 | 41 |     value: '/xyz/openbmc_project/state/chassis', | 
 | 42 |     description: 'The chassis state manager Dbus root.', | 
 | 43 | ) | 
 | 44 |  | 
 | 45 | option( | 
 | 46 |     'bmc-busname', type: 'string', | 
 | 47 |     value: 'xyz.openbmc_project.State.BMC', | 
 | 48 |     description: 'The BMC DBus busname to own.', | 
 | 49 | ) | 
 | 50 |  | 
 | 51 | option( | 
 | 52 |     'bmc-objpath', type: 'string', | 
 | 53 |     value: '/xyz/openbmc_project/state/bmc', | 
 | 54 |     description: 'The bmc state manager Dbus root.', | 
 | 55 | ) | 
 | 56 |  | 
 | 57 | option( | 
| Andrew Geissler | f245410 | 2019-12-06 15:14:08 -0600 | [diff] [blame] | 58 |     'host-state-persist-path', type: 'string', | 
| Allen.Wang | ba182f0 | 2022-03-23 19:01:53 +0800 | [diff] [blame] | 59 |     value: '/var/lib/phosphor-state-manager/host{}-PersistData', | 
 | 60 |     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] | 61 | ) | 
 | 62 |  | 
 | 63 | option( | 
 | 64 |     'poh-counter-persist-path', type: 'string', | 
| Allen.Wang | ba182f0 | 2022-03-23 19:01:53 +0800 | [diff] [blame] | 65 |     value: '/var/lib/phosphor-state-manager/chassis{}-POHCounter', | 
 | 66 |     description: 'Path format of file for storing POH counter.', | 
| Andrew Geissler | f245410 | 2019-12-06 15:14:08 -0600 | [diff] [blame] | 67 | ) | 
 | 68 |  | 
 | 69 | option( | 
 | 70 |     'chassis-state-change-persist-path', type: 'string', | 
| Allen.Wang | ba182f0 | 2022-03-23 19:01:53 +0800 | [diff] [blame] | 71 |     value: '/var/lib/phosphor-state-manager/chassis{}-StateChangeTime', | 
 | 72 |     description: 'Path format of file for storing the state change time.', | 
| Andrew Geissler | f245410 | 2019-12-06 15:14:08 -0600 | [diff] [blame] | 73 | ) | 
 | 74 |  | 
 | 75 | option( | 
| Carol Wang | 1dbbef4 | 2020-03-09 11:51:23 +0800 | [diff] [blame] | 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 |  | 
 | 81 | option( | 
| Andrew Geissler | f245410 | 2019-12-06 15:14:08 -0600 | [diff] [blame] | 82 |     'boot-count-max-allowed', type: 'integer', | 
 | 83 |     value: 3, | 
 | 84 |     description: 'The maximum allowed reboot count.', | 
 | 85 | ) | 
 | 86 |  | 
 | 87 | option( | 
 | 88 |     'class-version', type: 'integer', | 
| NodeMan97 | b4cbfac | 2022-05-09 23:56:39 -0500 | [diff] [blame] | 89 |     value: 2, | 
| Andrew Geissler | f245410 | 2019-12-06 15:14:08 -0600 | [diff] [blame] | 90 |     description: 'Class version to register with Cereal.', | 
 | 91 | ) | 
| Carol Wang | 71230ef | 2020-02-18 17:39:49 +0800 | [diff] [blame] | 92 |  | 
 | 93 | option( | 
 | 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 Geissler | 7fdad60 | 2020-06-22 13:46:16 -0500 | [diff] [blame] | 98 |  | 
 | 99 | option('warm-reboot', type : 'feature', | 
 | 100 |     value : 'enabled', | 
 | 101 |     description : 'Enable warm reboots of the system', | 
 | 102 | ) | 
| Thang Tran | ba2241c | 2021-10-26 17:47:09 +0700 | [diff] [blame] | 103 |  | 
 | 104 | option('host-gpios', type : 'feature', | 
 | 105 |     value : 'disabled', | 
 | 106 |     description : 'Enable gpio mechanism to check host state.', | 
 | 107 | ) | 
 | 108 |  | 
 | 109 | option('host-gpios-busname', type : 'string', | 
 | 110 |     value : 'xyz.openbmc_project.State.HostCondition.Gpio', | 
 | 111 |     description : 'The host gpios Dbus busname to own.', | 
 | 112 | ) | 
 | 113 |  | 
 | 114 | option('host-gpios-objpath', type : 'string', | 
 | 115 |     value : '/xyz/openbmc_project/Gpios', | 
 | 116 |     description : 'The host gpios Dbus root.', | 
 | 117 | ) | 
 | 118 |  | 
| Andrew Geissler | 8d8d731 | 2022-03-04 14:42:26 -0600 | [diff] [blame] | 119 | option('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 |  | 
 | 124 | option('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 | ) | 
| NodeMan97 | bcbee4a | 2022-05-27 15:28:45 -0500 | [diff] [blame] | 128 |  | 
 | 129 | option('only-run-apr-on-power-loss', type : 'boolean', | 
| George Liu | a15b81b | 2023-08-16 15:53:54 +0800 | [diff] [blame] | 130 |     value : false, | 
| NodeMan97 | bcbee4a | 2022-05-27 15:28:45 -0500 | [diff] [blame] | 131 |     description : 'Only run automatic restore policy due to loss of AC power.' | 
 | 132 | ) | 
| Lakshmi Yadlapati | b454d8b | 2023-03-27 16:11:41 -0500 | [diff] [blame] | 133 |  | 
| Lakshmi Yadlapati | 21d74d8 | 2023-07-20 17:37:22 -0500 | [diff] [blame] | 134 | option('sysfs-tpm-device-path', type : 'string', | 
 | 135 |     value : '/sys/firmware/devicetree/base/ahb/apb/bus@1e78a000/i2c-bus@680/tpm@2e', | 
 | 136 |     description : 'The sysfs path to the tpm device.', | 
 | 137 | ) | 
 | 138 |  | 
| Lakshmi Yadlapati | b454d8b | 2023-03-27 16:11:41 -0500 | [diff] [blame] | 139 | option('sysfs-tpm-measurement-path', type : 'string', | 
 | 140 |     value : '/sys/class/tpm/tpm0/pcr-sha256/0', | 
 | 141 |     description : 'The sysfs path to the tpm measurement value.', | 
 | 142 | ) | 
 | 143 |  | 
| Andrew Geissler | 629e3c4 | 2023-05-25 10:31:13 -0400 | [diff] [blame] | 144 | option('only-allow-boot-when-bmc-ready', type : 'boolean', | 
| George Liu | a15b81b | 2023-08-16 15:53:54 +0800 | [diff] [blame] | 145 |     value : false, | 
| Andrew Geissler | 629e3c4 | 2023-05-25 10:31:13 -0400 | [diff] [blame] | 146 |     description : 'Only allow chassis and host power on operations when BMC is Ready.' | 
 | 147 | ) |