From f058c4b71a182364fd664f5a4d93cd1fe3e07d19 Mon Sep 17 00:00:00 2001 From: Dan Crowell Date: Tue, 17 Jun 2014 10:27:07 -0500 Subject: 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 --- src/usr/errl/plugins/errludlogregister.H | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src/usr/errl/plugins/errludlogregister.H') 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"); -- cgit v1.2.1