Add pfr postcode feature
Add PfrPostcode object to read platformState mailbox register.
Add dbus object to PFR manager service so current platform state
value can be read by interested application like Redfish.
PfrPostcode object is added only when system is pfr provisioned.
Tested:
Manually verified dbus object properties as below -
busctl introspect xyz.openbmc_project.PFR.Manager /xyz/openbmc_project/pfr
NAME TYPE SIGNATURE RESULT/VALUE FLAGS
xyz.openbmc_project.State.Boot.Platform interface - - -
.Data property y 14 emits-change writable
.PlatformState property s "T0 boot complete" emits-change
Signed-off-by: Zhikui Ren <zhikui.ren@intel.com>
Change-Id: I3f3581af23c2656523ee975b2aab9ba15078c934
5 files changed