Create gen_path_callouts.pl

This script will pull callouts out of the FRU_PATH attribute on
connections and create a JSON file that has those callouts along with
the FSI/I2C/SPI/FSI-I2C/FSI-SPI keys to look them up.

It will be used by OpenBMC code to add callouts to error logs for device
access failure.

This first commit just builds an array of all the FSI/I2C/SPI bus
segments in the system and optionally prints them to JSON.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I4c789ca82b48e00925e03e613b03e965edd383d4
2 files changed