| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Add .clang-format to repo for automated style. A consistent style
across Openbmc makes the code easier to read and edit.
Change-Id: I7c09792d2482f0be3e01776804347700f3e3e651
Signed-off-by: Patrick Venture <venture@google.com>
|
|
|
|
|
|
|
|
|
| |
Add support for the VS and VP keywords. These
are the serial number and part number keywords for
OpenPower systems.
Change-Id: If22c99b3e6c36649e6a2d4afffe8318cf8fc493c
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I62a7284e58f8688b1560663aab52cc5746a77dda
Signed-off-by: Dinesh Chinari <chinari@us.ibm.com>
|
|
|
|
|
|
|
|
| |
Implement the run() method, which serves as the entry point to parse out
OpenPOWER VPD.
Change-Id: I966c38c6257f1a69b814518932c0c5c0a8386a08
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
|
|
|
|
|
|
|
|
| |
For a given OpenPOWER VPD record, get to it's keyword section and find
all contained keywords, and read the data for each of those.
Change-Id: I87001b3bc0a7b842543aa387e319b98aac8ca3ff
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
For keywords contained in an OpenPOWER VPD record, read the keyword
data. The data may be raw or encoded in ascii. Return the
resultant data as a string.
Some keywords, such as B1 (MAC address) need to be decoded specially.
Change-Id: I64c16c60dc94e173586b20fb6a92809fbb0ac89e
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
|
|
|
|
|
|
|
|
|
| |
This change adds implementation to look at record information within
OpenPOWER VPD, check if the record is of interest to us, and if yes -
proceed to read record information, for further parsing and storage.
Change-Id: Ic6df6c88c104fc588d645e626391561a754e741e
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
|
|
|
|
|
|
|
|
| |
This change implements logic to read the OpenPOWER VPD VTOC record,
which contains information about offsets to other records in the VPD.
Change-Id: Id40dee0f940815766bf2e956c6ab08c875e6f79b
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
|
|
This change implements a parser method to check if the OpenPOWER VPD has
the mandatory header record, VHDR.
Change-Id: I9e4cebd8f69e47e1ab0f1b569fe4af2c82a5a137
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
|