Home
last modified time | relevance | path

Searched hist:"523704 d0141d67a9fc9a05c2fe2abac2040201d0" (Results 1 – 2 of 2) sorted by relevance

/openbmc/phosphor-power/phosphor-power-supply/
H A Dpsu_manager.hppdiff 523704d0141d67a9fc9a05c2fe2abac2040201d0 Tue Sep 21 10:55:41 CDT 2021 Adriana Kobylak <anoo@us.ibm.com> psu-ng: Move model validation to its own function

Move the model validation to a separate function so that it can be used
in a subsequent commit to get the psu count from the supported
configurations map. The supported configurations maps a psu model name
to the expected psu characteristics, so by knowing the model name, it
can be used to get the expected psu information for that system.

Tested: The validation function works as before.

Change-Id: I3494f68721131b4a42af2ad9e1889ad2e340d4e2
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
H A Dpsu_manager.cppdiff 523704d0141d67a9fc9a05c2fe2abac2040201d0 Tue Sep 21 10:55:41 CDT 2021 Adriana Kobylak <anoo@us.ibm.com> psu-ng: Move model validation to its own function

Move the model validation to a separate function so that it can be used
in a subsequent commit to get the psu count from the supported
configurations map. The supported configurations maps a psu model name
to the expected psu characteristics, so by knowing the model name, it
can be used to get the expected psu information for that system.

Tested: The validation function works as before.

Change-Id: I3494f68721131b4a42af2ad9e1889ad2e340d4e2
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>