mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-07 02:19:54 +00:00
platform/x86: think-lmi: Add extra TC BIOS error messages
Add extra error messages that are used by ThinkCenter platforms. Signed-off-by: Kean Ren <kean0048@gmail.com> Signed-off-by: Mark Pearson <mpearson-lenovo@squebb.ca> Link: https://lore.kernel.org/r/20250903173824.1472244-4-mpearson-lenovo@squebb.ca Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
This commit is contained in:
committed by
Ilpo Järvinen
parent
07b93b747c
commit
a0d6959c34
@@ -206,10 +206,21 @@ static const struct tlmi_cert_guids thinkcenter_cert_guid = {
|
|||||||
|
|
||||||
static const struct tlmi_err_codes tlmi_errs[] = {
|
static const struct tlmi_err_codes tlmi_errs[] = {
|
||||||
{"Success", 0},
|
{"Success", 0},
|
||||||
|
{"Set Certificate operation was successful.", 0},
|
||||||
{"Not Supported", -EOPNOTSUPP},
|
{"Not Supported", -EOPNOTSUPP},
|
||||||
{"Invalid Parameter", -EINVAL},
|
{"Invalid Parameter", -EINVAL},
|
||||||
{"Access Denied", -EACCES},
|
{"Access Denied", -EACCES},
|
||||||
{"System Busy", -EBUSY},
|
{"System Busy", -EBUSY},
|
||||||
|
{"Set Certificate operation failed with status:Invalid Parameter.", -EINVAL},
|
||||||
|
{"Set Certificate operation failed with status:Invalid certificate type.", -EINVAL},
|
||||||
|
{"Set Certificate operation failed with status:Invalid password format.", -EINVAL},
|
||||||
|
{"Set Certificate operation failed with status:Password retry count exceeded.", -EACCES},
|
||||||
|
{"Set Certificate operation failed with status:Password Invalid.", -EACCES},
|
||||||
|
{"Set Certificate operation failed with status:Operation aborted.", -EBUSY},
|
||||||
|
{"Set Certificate operation failed with status:No free slots to write.", -ENOSPC},
|
||||||
|
{"Set Certificate operation failed with status:Certificate not found.", -EEXIST},
|
||||||
|
{"Set Certificate operation failed with status:Internal error.", -EFAULT},
|
||||||
|
{"Set Certificate operation failed with status:Certificate too large.", -EFBIG},
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char * const encoding_options[] = {
|
static const char * const encoding_options[] = {
|
||||||
|
|||||||
Reference in New Issue
Block a user