summaryrefslogtreecommitdiffstats
path: root/scripts/writefru.mako.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Inventory:- Make changes in the mako and the C++ structureRatan Gupta2018-02-041-4/+9
| | | | | | | | | | This change lies in the Write Fru Data command processing. As fru yaml would be having extra properties like entityID,entityInstance,So changes were needed to make the change in the corresponding c++ structure. Change-Id: If23bb12563cdef34438746e2d6a8be7f54b7486d Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Modify mako script to generate code for empty interfacesMarri Devender Rao2017-09-131-5/+7
| | | | | | | | | Allow generating code for empty interfaces in the FRU map. Empty interfaces are used to determine the type of the inventory object. Change-Id: I945998627b88bc68374b631d1b14328cd611cb39 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
* fru_gen: reduce map in generated dataPatrick Williams2017-06-021-3/+10
| | | | | | | | | | | | | | | | Eliminate one level of the generated "frus" map by creating a structure for the lowest-level member. This should reduce the impact of a gcc bug that consumes excessive memory when compiling the generated map. Also removed the runtime calculation of the 'delimiter' character and instead generated it in the fru_gen python script. Resolves openbmc/openbmc#1441. Resolves openbmc/openbmc#1166. Change-Id: Iafe049d034354d58b68d357b4f49fd5e21b2c8c7 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* fru_gen: fixes for python3Patrick Williams2017-06-021-5/+5
| | | | | | | | | | The iter{keys,items} functions have become just 'keys' and 'items' in python3. Python2 also has keys and items, which is slightly less efficient for iteration but none of these maps are large enough to be of concern. Change-Id: If6e8f36ad39074e0a6c022fb09e3a43b0928af19 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Create the generated FRU Map in cpp.Ratan Gupta2017-02-141-0/+28
Change-Id: Id83220e5e2876f4112ba76d698b2062e2a08dd3d Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
OpenPOWER on IntegriCloud