op-pwrctl: Use new BootProgress sensor

The pci_reset_out depends on BootProgress sensor to release the reset
hold. The /org/openbmc/sensors/host/BootProgress object is deprecated
and we should use /xyz/openbmc_project/state/host0 now.

Update the code to use new object and it fixes the P8 PCI reset issues.

Change-Id: I97b311b548c4e8d081820f488dc2a8b40a41cf1c
Signed-off-by: Lei YU <mine260309@gmail.com>
1 file changed