aboutsummaryrefslogtreecommitdiff
path: root/hw/fsp
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2014-10-09 17:51:04 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2014-10-10 16:16:20 +1100
commitbbcee643c8dbe459bcef90d6b111ec2c08050d16 (patch)
treeb2c351e382dd19838178fdbaa9e3e5f5e607e17b /hw/fsp
parent216547fde5bd0cf5a806c0a3053da8fb81b45ad8 (diff)
downloadskiboot-bbcee643c8dbe459bcef90d6b111ec2c08050d16.zip
skiboot-bbcee643c8dbe459bcef90d6b111ec2c08050d16.tar.gz
skiboot-bbcee643c8dbe459bcef90d6b111ec2c08050d16.tar.bz2
CUPD: Log LID ID in elog if size crosses the limit
..so that it makes easy to find the culprit LID easily. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/fsp')
-rw-r--r--hw/fsp/fsp-codeupdate.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/hw/fsp/fsp-codeupdate.c b/hw/fsp/fsp-codeupdate.c
index 5efff58..bbdac37 100644
--- a/hw/fsp/fsp-codeupdate.c
+++ b/hw/fsp/fsp-codeupdate.c
@@ -1015,9 +1015,10 @@ static int fsp_flash_firmware(void)
for (i = 0; i < be16_to_cpu(header->number_lids); i++) {
if (be32_to_cpu(idx_entry->size) > LID_MAX_SIZE) {
- log_simple_error(&e_info(OPAL_RC_CU_FLASH), "CUPD: "
- "LID size 0x%x is > max LID size (0x%x).\n",
- be32_to_cpu(idx_entry->size), LID_MAX_SIZE);
+ log_simple_error(&e_info(OPAL_RC_CU_FLASH), "CUPD: LID"
+ " (0x%x) size 0x%x is > max LID size (0x%x).\n",
+ be32_to_cpu(idx_entry->id),
+ be32_to_cpu(idx_entry->size), LID_MAX_SIZE);
goto abort_update;
}