HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/31421
Change subject: SMBUS: Update BMC Interface Type field ......................................................................
SMBUS: Update BMC Interface Type field
Change-Id: I68a8515adf5b29a080f8c5c5b7a96b28bca74676 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/include/smbios.h 1 file changed, 4 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/21/31421/1
diff --git a/src/include/smbios.h b/src/include/smbios.h index 14badbc..da92315 100644 --- a/src/include/smbios.h +++ b/src/include/smbios.h @@ -481,9 +481,10 @@
enum smbios_bmc_interface_type { SMBIOS_BMC_INTERFACE_UNKNOWN = 0, - SMBIOS_BMC_INTERFACE_KCS, - SMBIOS_BMC_INTERFACE_SMIC, - SMBIOS_BMC_INTERFACE_BLOCK, + SMBIOS_BMC_INTERFACE_KCS = 0x01, + SMBIOS_BMC_INTERFACE_SMIC = 0x02, + SMBIOS_BMC_INTERFACE_BLOCK = 0x03, + SMBIOS_BMC_INTERFACE_SMBUS = 0x04, };
typedef enum {
Hello Richard Spiegel,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/31421
to look at the new patch set (#2).
Change subject: SMBIOS: Update BMC Interface Type field ......................................................................
SMBIOS: Update BMC Interface Type field
Change-Id: I68a8515adf5b29a080f8c5c5b7a96b28bca74676 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/include/smbios.h 1 file changed, 4 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/21/31421/2
Richard Spiegel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31421 )
Change subject: SMBIOS: Update BMC Interface Type field ......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/#/c/31421/2/src/include/smbios.h File src/include/smbios.h:
https://review.coreboot.org/#/c/31421/2/src/include/smbios.h@484 PS2, Line 484: SMBIOS_BMC_INTERFACE_KCS = 0x01, : SMBIOS_BMC_INTERFACE_SMIC = 0x02, : SMBIOS_BMC_INTERFACE_BLOCK = 0x03, : SMBIOS_BMC_INTERFACE_SMBUS = 0x04, : The equates are not needed, this is an enum. SMBIOS_BMC_INTERFACE_UNKNOWN = 0, SMBIOS_BMC_INTERFACE_KCS, SMBIOS_BMC_INTERFACE_SMIC, SMBIOS_BMC_INTERFACE_BLOCK, SMBIOS_BMC_INTERFACE_SMBUS, }}
Hello Richard Spiegel, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/31421
to look at the new patch set (#3).
Change subject: SMBIOS: Update BMC Interface Type field ......................................................................
SMBIOS: Update BMC Interface Type field
Change-Id: I68a8515adf5b29a080f8c5c5b7a96b28bca74676 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/include/smbios.h 1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/21/31421/3
Richard Spiegel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31421 )
Change subject: SMBIOS: Update BMC Interface Type field ......................................................................
Patch Set 3: Code-Review+2
Kyösti Mälkki has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31421 )
Change subject: SMBIOS: Update BMC Interface Type field ......................................................................
Patch Set 3:
(1 comment)
https://review.coreboot.org/#/c/31421/2/src/include/smbios.h File src/include/smbios.h:
https://review.coreboot.org/#/c/31421/2/src/include/smbios.h@484 PS2, Line 484: SMBIOS_BMC_INTERFACE_KCS = 0x01, : SMBIOS_BMC_INTERFACE_SMIC = 0x02, : SMBIOS_BMC_INTERFACE_BLOCK = 0x03, : SMBIOS_BMC_INTERFACE_SMBUS = 0x04, :
The equates are not needed, this is an enum. […]
Binaries are fine without the equates here, but only because the particular enumeration here does not have any gaps.
You can notice many of the other enums in this file actually have these equates even for cases without gaps. Like smbios_memory_bus_width and smbios_memory_array_ecc. That's because this has to meet external specification and source is more readable with than without them.
Patrick Georgi has submitted this change and it was merged. ( https://review.coreboot.org/c/coreboot/+/31421 )
Change subject: SMBIOS: Update BMC Interface Type field ......................................................................
SMBIOS: Update BMC Interface Type field
Change-Id: I68a8515adf5b29a080f8c5c5b7a96b28bca74676 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr Reviewed-on: https://review.coreboot.org/c/31421 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Richard Spiegel richard.spiegel@silverbackltd.com --- M src/include/smbios.h 1 file changed, 1 insertion(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Richard Spiegel: Looks good to me, approved
diff --git a/src/include/smbios.h b/src/include/smbios.h index 14badbc..a329d9a 100644 --- a/src/include/smbios.h +++ b/src/include/smbios.h @@ -484,6 +484,7 @@ SMBIOS_BMC_INTERFACE_KCS, SMBIOS_BMC_INTERFACE_SMIC, SMBIOS_BMC_INTERFACE_BLOCK, + SMBIOS_BMC_INTERFACE_SMBUS, };
typedef enum {