diff options
author | Morgan Jang <Morgan_Jang@wiwynn.com> | 2020-04-09 13:50:43 +0800 |
---|---|---|
committer | Andrey Petrov <andrey.petrov@gmail.com> | 2020-04-10 18:08:02 +0000 |
commit | ea9787a6b29821e95aa382e1df1ba397cf3da9e9 (patch) | |
tree | 5037f106624bb6914f63b1f2ada6bd5cb2e8eb4f /src/drivers/ipmi/ipmi_kcs.h | |
parent | e6d1c7fae87e7bdf869c59a09c16284b6a9dfccb (diff) | |
download | coreboot-ea9787a6b29821e95aa382e1df1ba397cf3da9e9.tar.xz |
drivers/ipmi: Implement the function for logging system events into BMC
Implemented for functions that need to log system events into BMC,
the information of system events can be specific.
TEST=Use ipmitool and execute "ipmitool sel list" command to check
if SEL is added into BMC.
Change-Id: I38f3acb958d12c196d33d34fd5cfa0b784f403b7
Signed-off-by: Morgan Jang <Morgan_Jang@wiwynn.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40286
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Andrey Petrov <andrey.petrov@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/drivers/ipmi/ipmi_kcs.h')
-rw-r--r-- | src/drivers/ipmi/ipmi_kcs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/ipmi/ipmi_kcs.h b/src/drivers/ipmi/ipmi_kcs.h index d511edfd4f..44f668d149 100644 --- a/src/drivers/ipmi/ipmi_kcs.h +++ b/src/drivers/ipmi/ipmi_kcs.h @@ -21,6 +21,7 @@ #define IPMI_NETFN_FIRMWARE 0x08 #define IPMI_NETFN_STORAGE 0x0a #define IPMI_READ_FRU_DATA 0x11 +#define IPMI_ADD_SEL_ENTRY 0x44 #define IPMI_NETFN_TRANSPORT 0x0c #define IPMI_CMD_ACPI_POWERON 0x06 |