]> git.ozlabs.org Git - petitboot/commitdiff
discover/platform-powerpc: Handle optional Get Device ID section
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Wed, 14 Jun 2017 02:01:35 +0000 (12:01 +1000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 20 Jun 2017 05:35:54 +0000 (15:35 +1000)
The 'auxiliary' section of the 'Get Device ID' response is optional,
and some platforms exclude it from the response entirely. However
Petitboot only recognises the response as valid if it includes the full
16 bytes.
Update get_ipmi_bmc_versions() to also handle responses of only 12 bytes.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>

No differences found