summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMatthew Raybuck <matthew.raybuck@ibm.com>2019-06-20 12:36:59 -0500
committerDaniel M Crowell <dcrowell@us.ibm.com>2019-07-23 13:52:48 -0500
commitf18f9f2d14773dae84a57c9be8dfdbaa665ce799 (patch)
tree64626bf1b01fb73ae15b7ac9c5100d29ad2180ea /src/include
parentc865c731af71ca5218eaedd6707120c90f234213 (diff)
downloadtalos-hostboot-f18f9f2d14773dae84a57c9be8dfdbaa665ce799.tar.gz
talos-hostboot-f18f9f2d14773dae84a57c9be8dfdbaa665ce799.zip
Add BPM firmware update procedure
Adds the necessary code to update the firmware data of the BPM. This commit doesn't support the config data portion of the update. The BPM code hasn't been hooked into the existing NVDIMM code yet either. These things, along with error paths, will be added in future commits. Change-Id: I11aa8b8afda26a093682765e488a4de0e31c0f6c RTC:210367 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79277 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/usr/hbotcompid.H10
-rw-r--r--src/include/usr/util/utillidmgr.H4
2 files changed, 14 insertions, 0 deletions
diff --git a/src/include/usr/hbotcompid.H b/src/include/usr/hbotcompid.H
index 4afcaa80e..924091fc6 100644
--- a/src/include/usr/hbotcompid.H
+++ b/src/include/usr/hbotcompid.H
@@ -496,6 +496,16 @@ const char EXPUPD_COMP_NAME[] = "expupd";
//@}
//
+/** @name BPM
+ * BPM flash update component
+ */
+//@{
+const compId_t BPM_COMP_ID = 0x4300;
+const char BPM_COMP_NAME[] = "bpm";
+
+//@}
+
+//
//
/** @name HDAT
* HDAT component
diff --git a/src/include/usr/util/utillidmgr.H b/src/include/usr/util/utillidmgr.H
index e78eba133..bd1c587c0 100644
--- a/src/include/usr/util/utillidmgr.H
+++ b/src/include/usr/util/utillidmgr.H
@@ -63,6 +63,10 @@ enum LidId
TARGETING_BINARY_LIDID = 0x81e00630,
NVDIMM_16GB_LIDID = 0x81e00640,
NVDIMM_32GB_LIDID = 0x81e00641,
+ NVDIMM_16GB_BPM_FW_LIDID = 0x81e00642,
+ NVDIMM_32GB_BPM_FW_LIDID = 0x81e00643,
+ NVDIMM_16GB_BPM_CONFIG_LIDID = 0x81e00644,
+ NVDIMM_32GB_BPM_CONFIG_LIDID = 0x81e00645,
UCD_LIDID = 0x81e00650,
INVALID_LIDID = 0xFFFFFFFF
OpenPOWER on IntegriCloud