common: fetch nested configuration

Config for a code updater is provided via dbus, the common
'FirmwareInfoDef' becomes a nested dbus interface.

For BIOS code updater, it looks like this:
```
xyz.openbmc_project.Configuration.BIOS.FirmwareInfo
```

Update the common code to query this configuration from the nested dbus
interface.

Tested: BIOS code updater can query its configuration with following
EM config json fragment:

```
{
  "Name": "HostSPIFlash",
  "SPIControllerIndex": 1,
  "SPIDeviceIndex": 0,
  "HasME": false,
  "Layout": "Flat",
  "Tool": "None",
  "MuxOutputs": ["BMC_SPI_SEL"],
  "MuxGPIOValues": [1],
  "FirmwareInfo": {
    "VendorIANA": "6653",
    "CompatibleHardware": "com.tyan.Hardware.S8030.SPI.Host"
  },
  "Type": "BIOS"
},
```

Change-Id: I1d7241537b759ee74ce4a1f932b5597ac7d95e52
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
1 file changed
tree: 79bba39b0b3f1da70ffcc7861649400a9a11d804
  1. bmc/
  2. common/
  3. subprojects/
  4. test/
  5. .clang-format
  6. .clang-tidy
  7. .gitignore
  8. .shellcheck
  9. LICENSE
  10. meson.build
  11. meson.options
  12. OWNERS
  13. README.md
README.md

phosphor-bmc-code-mgmt

Phosphor BMC Code Management provides a set of system software management applications. More information can be found at Software Architecture

To Build

To build this package, do the following steps:

  1. meson build
  2. ninja -C build

To clean the repository run rm -r build.