summaryrefslogtreecommitdiffstats
path: root/src/usr/errl/plugins/errludlogregister.H
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2014-06-17 10:27:07 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-10-14 08:49:13 -0500
commitf058c4b71a182364fd664f5a4d93cd1fe3e07d19 (patch)
tree348cab519fb07d2172fad68d1df689381c437793 /src/usr/errl/plugins/errludlogregister.H
parent4b16ee65fc46cb19aca69bd54b6024a948316315 (diff)
downloadtalos-hostboot-f058c4b71a182364fd664f5a4d93cd1fe3e07d19.tar.gz
talos-hostboot-f058c4b71a182364fd664f5a4d93cd1fe3e07d19.zip
Split out SFC logic and add support for AST2400
Refactored the PNOR device driver to pull all SFC-specific code into a new set of classes. Any time a new type of serial flash controller (SFC) is introduced, a new subclass should be created to support it. Also added the full support for the AST2400 BMC that is being used on Palmetto. Change-Id: I9cdbf9b48bbf94615a39804920e170a3142ec386 Origin: Google Shared Technology RTC: 97493 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/13229 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/errl/plugins/errludlogregister.H')
-rw-r--r--src/usr/errl/plugins/errludlogregister.H13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/usr/errl/plugins/errludlogregister.H b/src/usr/errl/plugins/errludlogregister.H
index 87450fad6..f795a9643 100644
--- a/src/usr/errl/plugins/errludlogregister.H
+++ b/src/usr/errl/plugins/errludlogregister.H
@@ -5,7 +5,10 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* COPYRIGHT International Business Machines Corp. 2012,2014 */
+/* Contributors Listed Below - COPYRIGHT 2013,2014 */
+/* [+] Google Inc. */
+/* [+] International Business Machines Corp. */
+/* */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
/* you may not use this file except in compliance with the License. */
@@ -142,6 +145,14 @@ public:
addrParams.push_back(" I2C slave device address");
addrParams.push_back(" EEPROM chip number");
break;
+ case DeviceFW::LPC: // driverif.H
+ i_parser.PrintString("AccessType", "DeviceFW::LPC");
+ i_parser.PrintString("Ranges",
+ "0=IO,1=MEM,2=FW,3=REG,4=ABS");
+ numArgs = 2;
+ addrParams.push_back(" Range");
+ addrParams.push_back(" Addr");
+ break;
// three parameters
case DeviceFW::I2C: // driverif.H
i_parser.PrintString("AccessType", "DeviceFW::I2C");
OpenPOWER on IntegriCloud