diff options
author | Alexander Filippov <a.filippov@yadro.com> | 2020-09-23 14:56:05 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-10-02 01:14:31 +0300 |
commit | fbc52ded58d2bf74c33a85ab85edca617928f4ca (patch) | |
tree | d7bc19cd02d925498a6edfea01f1f0178f7d11f8 /meta-yadro | |
parent | 2b5601dd487f09eecb7f4dfeea48aedb424e9fef (diff) | |
download | openbmc-fbc52ded58d2bf74c33a85ab85edca617928f4ca.tar.xz |
meta-nicole: phosphor-ipmi-host: Fix sensors
Since the commit 022da0dd the value type of sensors was changed
from `int64_t` with scale to `double`.
This brings the same replacement for `phosphor-ipmi-host`.
(From meta-yadro rev: fe84801b413deef4185337a117098f62fca4dbc6)
Change-Id: I3de00a101a0633658292131c5d255080ab24f64c
End-User-Impact: `ipmitool sensor` will now show actual sensor's values.
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-yadro')
-rw-r--r-- | meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-sensors.yaml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-sensors.yaml b/meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-sensors.yaml index 2c056f9a1..20b3a4ea2 100644 --- a/meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-sensors.yaml +++ b/meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-sensors.yaml @@ -189,14 +189,14 @@ Value: Offsets: 255: - type: int64_t + type: double multiplierM: 5 mutability: Mutability::Write|Mutability::Read offsetB: 0 path: /xyz/openbmc_project/sensors/temperature/dimm0_temp rExp: -1 readingType: readingData - scale: -3 + scale: 0 sensorNamePattern: nameLeaf sensorReadingType: 1 sensorType: 1 @@ -490,14 +490,14 @@ Value: Offsets: 255: - type: int64_t + type: double multiplierM: 5 mutability: Mutability::Write|Mutability::Read offsetB: 0 path: /xyz/openbmc_project/sensors/temperature/p0_core0_temp rExp: -1 readingType: readingData - scale: -3 + scale: 0 sensorNamePattern: nameLeaf sensorReadingType: 1 sensorType: 1 |