Home
last modified time | relevance | path

Searched hist:df0a1e1e (Results 1 – 1 of 1) sorted by relevance

/openbmc/openpower-vpd-parser/
H A Dibm_vpd_app.cppdf0a1e1e Mon May 03 05:36:35 CDT 2021 Santosh Puranik <santosh.puranik@in.ibm.com> Correct assertion when restoring system VPD

The vpd parser would assert if it found a FRU entry
tagged as system VPD in the JSON, but did not find a
Motherboard tagged item on D-Bus corresponding to that
entry.

This check was done before attempting to restore system
VPD. This check is no longer valid if we need the chassis
object to inherit properties from the Motherboard.

To simplify this, this commit just changes that assertion
to an if clause.

Tested:
Tested with a JSON where the chassis inherits properties
from the motehrboard EEPROM and verified that we no longer
assert.

Signed-off-by: Santosh Puranik <santosh.puranik@in.ibm.com>
Change-Id: I7b951433a8a5fdf859756141598d9f7530fd03c0