aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/phb4.c4
-rw-r--r--include/capp.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/hw/phb4.c b/hw/phb4.c
index 48260a1..89f82e2 100644
--- a/hw/phb4.c
+++ b/hw/phb4.c
@@ -2876,9 +2876,9 @@ static int64_t load_capp_ucode(struct phb4 *p)
if (p->index != CAPP0_PHB_INDEX && p->index != CAPP1_PHB_INDEX)
return OPAL_HARDWARE;
- /* 0x4341505050534C4C = 'CAPPPSLL' in ASCII */
+ /* 0x434150504c494448 = 'CAPPLIDH' in ASCII */
rc = capp_load_ucode(p->chip_id, p->phb.opal_id, p->index,
- 0x4341505050534C4C, PHB4_CAPP_REG_OFFSET(p),
+ 0x434150504c494448, PHB4_CAPP_REG_OFFSET(p),
CAPP_APC_MASTER_ARRAY_ADDR_REG,
CAPP_APC_MASTER_ARRAY_WRITE_REG,
CAPP_SNP_ARRAY_ADDR_REG,
diff --git a/include/capp.h b/include/capp.h
index 597401d..6ec3f7f 100644
--- a/include/capp.h
+++ b/include/capp.h
@@ -19,7 +19,7 @@
/*
* eyecatcher PHB3: 'CAPPLIDH' in ASCII
- * eyecatcher PHB4: 'CAPPPSLL' in ASCII
+ * eyecatcher PHB4: 'CAPPLIDH' in ASCII
*/
struct capp_lid_hdr {
be64 eyecatcher;