Change Post codes signature to contain Secondary Code
- The intent behind this commit is to change the Post Code
signature used in all the Dbus methods on the post code
interface to contain the secondary post code.
- This was needed because, on IBM systems the progress codes
are typically 72 bytes which consists of an 8 byte primary
reference code along with a bunch of hex words(secondary code).
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: Ic58b2853a9e2ec5327f0b1afe5712e75a41318a9
diff --git a/xyz/openbmc_project/State/Boot/PostCode.interface.yaml b/xyz/openbmc_project/State/Boot/PostCode.interface.yaml
index 2ea20b4..0dea5c7 100644
--- a/xyz/openbmc_project/State/Boot/PostCode.interface.yaml
+++ b/xyz/openbmc_project/State/Boot/PostCode.interface.yaml
@@ -28,7 +28,7 @@
oldest boot cycle.
returns:
- name: Codes
- type: dict[uint64, uint64]
+ type: dict[uint64, struct[uint64,array[byte]]]
description: >
An array of post codes and timestamp in microseconds since epoch
- name: GetPostCodes
@@ -43,6 +43,6 @@
oldest boot cycle.
returns:
- name: Codes
- type: array[uint64]
+ type: array[struct[uint64,array[byte]]]
description: >
An array of post codes of one boot cycle.