summaryrefslogtreecommitdiffstats
path: root/frup.cpp
Commit message (Collapse)AuthorAgeFilesLines
* frup.cpp: drop unused variablePatrick Venture2018-10-181-10/+0
| | | | | | | | | | [frup.cpp:628] -> [frup.cpp:694]: (style) The expression 'sdr < 0' is always false. This is true because the value is set to 0 and never re-assigned. Change-Id: I668f5cc5a13a0c87afa3af978c341fb60f51b70d Signed-off-by: Patrick Venture <venture@google.com>
* add clang-formatPatrick Venture2018-10-171-673/+569
| | | | | | | Add clang-format file. Change-Id: Ib99bbeb0ec59b5befb742dec38286c24a7f842ea Signed-off-by: Patrick Venture <venture@google.com>
* Spelling fixesGunnar Mills2018-06-141-1/+1
| | | | | | | | | Spelling errors found using github.com/lucasdemarchi/codespell A tool to fix common misspellings. This tool is licensed under GNU General Public License, version 2. Change-Id: Ifbc540985ddef6ee0ac6e5510c9bf79f24f89f96 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Support Build date in IPMI Board FRU formatTom Joseph2017-08-231-2/+3
| | | | | | | Resolves openbmc/openbmc#1533 Change-Id: I9269cd24ec11a4a43657541c529e28a756f76c48 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Remove debug printf of VPD keysAndrew Geissler2017-06-141-1/+4
| | | | | | | | | The output from these printfs clog up the journal. If needed then we should move them to phosphor logging and make debug. Change-Id: I26600a0d13f834da1c35d914285b13a3bc2eea4a Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Inventory: Add chassis fru dataRatan Gupta2017-02-201-2/+1
| | | | | Change-Id: Idc83199d584ffe6d1b66debcb36244dd393495d0 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Fix bug in FRU data processing logicDeepak Kodihalli2017-02-141-165/+31
| | | | | | | | The logic assumed IPMI FRU data is encoded in ascii always, but the data could be ascii or binary. Handle both encodings. Change-Id: Ie89bb077fd32a23bb96bd4cda78b66d2ccdd9774 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* rename frup.h -> frup.hppRatan Gupta2017-02-111-1/+1
| | | | | | | This header contains c++ code. Change-Id: I4bc6cf0ddfbdc6ac4d93580a5203bb59537bbb04 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Re-factor to use MRW and Inventory interfacesRatan Gupta2017-02-011-81/+17
| | | | | | | | | The write FRU command now figures out properties to be written for a FRU via a generated header file, which in turn is generated via scrips deriving their inputs from MRW and Inventory d-bus interfaces. Change-Id: I9939aeec24566cf518f4e63dc6ae344b236a541f Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Change c->cpp.Ratan Gupta2017-02-011-0/+1126
It is required as we would be using c++ containers. Change-Id: Ifefc468ac7b2e94d1b9948a6aeb7f8d42d8e6555 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
OpenPOWER on IntegriCloud