diff options
author | Andrew Jeffery <andrewrj@au1.ibm.com> | 2018-09-17 17:23:15 +0930 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-10-10 13:45:29 -0500 |
commit | c829113199d6ee1f1788ff336a09b55b98bc3609 (patch) | |
tree | 2b684af29b43d6d6723917a5502e0d48366eaeb3 /src/include/usr/ipmi/ipmiif.H | |
parent | 4874662e58d998ed49aa773d0cfe98b61e076bd5 (diff) | |
download | talos-hostboot-c829113199d6ee1f1788ff336a09b55b98bc3609.tar.gz talos-hostboot-c829113199d6ee1f1788ff336a09b55b98bc3609.zip |
pnor: Introduce an IPMI-based PNOR driver implementation
Similar to the AST MBOX implementation, the IPMI PNOR implementation
negotiates the layout of the LPC FW space with the BMC, but using IPMI
rather than the AST mailbox as a protocol transport. The same protocol
is still used and has simply been adapted to the new interface.
Note that currently the change of transport has had a 2-3x impact on
boot performance. Optimisation is an ongoing effort.
Change-Id: I7f838f5b5e88ac877a725386a33df58ee5e7213c
Signed-off-by: Andrew Jeffery <andrewrj@au1.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65942
Tested-by: Jenkins Server <pfd-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: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/ipmi/ipmiif.H')
-rw-r--r-- | src/include/usr/ipmi/ipmiif.H | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/usr/ipmi/ipmiif.H b/src/include/usr/ipmi/ipmiif.H index 1a2296b04..59eee8673 100644 --- a/src/include/usr/ipmi/ipmiif.H +++ b/src/include/usr/ipmi/ipmiif.H @@ -291,6 +291,9 @@ namespace IPMI inline const command_t pnor_response(void) { return std::make_pair(NETFUN_IBM, 0x08); } + inline const command_t hiomap_event(void) + { return std::make_pair(NETFUN_IBM, 0x0f); } + // $TODO RTC:123256 - need to add code to get dcmi capabilities // This is a dcmi message used to request the // user defined power limit from the BMC. @@ -307,6 +310,10 @@ namespace IPMI inline const command_t test_drop(void) { return std::make_pair(NETFUN_APP, 0x3e); } + // IPMI PNOR + inline const command_t pnor_hiomap_request(void) + { return std::make_pair(NETFUN_IBM, 0x5a); } + /** * Send message asynchronously * @param[in] i_cmd, the network function and command |