commit | d432b48b6b5c908248d9bc6cce316514a05f3ed0 | [log] [tgz] |
---|---|---|
author | Archana Kakani <archana.kakani@ibm.com> | Tue Feb 04 22:52:28 2025 -0600 |
committer | ManojKiran Eda <manojkiran.eda@gmail.com> | Mon Feb 10 05:16:53 2025 +0000 |
tree | 2873c8b32f00250d5a592ec77105cd51ff72e00c | |
parent | 2832f2cdd6b04c0359cb5ba712e3b88be7ce1c26 [diff] [blame] |
host-bmc: Implement Board interface Adding support to host Board dbus interface. Based on the PDRs received from remote PLDM terminus, PLDM hosts the dbus interface based on the entity type. The Board interface is defined at [1]. Tested: Functional test passed [1]: https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Inventory/Item/Board.interface.yaml Change-Id: I672abd2972eb18a4b1a81155811a544927884627 Signed-off-by: Archana Kakani <archana.kakani@ibm.com>
diff --git a/host-bmc/host_pdr_handler.cpp b/host-bmc/host_pdr_handler.cpp index f29591e..8da01a7 100644 --- a/host-bmc/host_pdr_handler.cpp +++ b/host-bmc/host_pdr_handler.cpp
@@ -1186,6 +1186,9 @@ CustomDBus::getCustomDBus().implementConnecterInterface( entity.first); break; + case PLDM_ENTITY_BOARD: + CustomDBus::getCustomDBus().implementBoard(entity.first); + break; case PLDM_ENTITY_CARD: CustomDBus::getCustomDBus().implementPCIeDeviceInterface( entity.first);