diff options
author | Nick Bofferding <bofferdn@us.ibm.com> | 2014-12-04 14:16:09 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2015-01-22 17:17:39 -0600 |
commit | f8569146fb30162c9bc9d4730d0476f209071fac (patch) | |
tree | 19a495e078dea43580c38cb4c999cb4eac1e909e /src/usr/gpio | |
parent | 1bc13e89d35eacba76589ac3c5158d54ce73b35b (diff) | |
download | talos-hostboot-f8569146fb30162c9bc9d4730d0476f209071fac.tar.gz talos-hostboot-f8569146fb30162c9bc9d4730d0476f209071fac.zip |
Support VDDR enable for Firestone
- Assert GPIOs from MRW info to enable VDDR across FSP-less platforms
- Updated MRW parser to parse GPIO info from MRW
- Updated membuf selection algorithm to choose optimal set of GPIO enables
- Defaulted GPIO_INFO attribute to invalid value
- Updated GPIO device driver to use MRW i2c master path
Change-Id: I0da9e0608af3e8368217c863b2606279637711e5
RTC: 117706
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14710
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/gpio')
-rw-r--r-- | src/usr/gpio/gpiodd.C | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/usr/gpio/gpiodd.C b/src/usr/gpio/gpiodd.C index 4dc94650e..5b2c840e7 100644 --- a/src/usr/gpio/gpiodd.C +++ b/src/usr/gpio/gpiodd.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2014 */ +/* Contributors Listed Below - COPYRIGHT 2014,2015 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -308,10 +308,7 @@ errlHndl_t gpioReadAttributes ( TARGETING::Target * i_target, if( !err ) { - //TODO - RTC 109570 until the the Palmetto attribute file is setup - io_gpioInfo.i2cMasterPath = - i_target->getAttr<TARGETING::ATTR_PHYS_PATH>(); - //io_gpioInfo.i2cMasterPath = gpioData.i2cMasterPath; + io_gpioInfo.i2cMasterPath = gpioData.i2cMasterPath; io_gpioInfo.engine = gpioData.engine; io_gpioInfo.i2cPort = gpioData.port; io_gpioInfo.i2cDeviceAddr = gpioData.devAddr; |