commit | 39df4035c0dc3cb3ae8131b93ae9641e0d1e7f83 | [log] [tgz] |
---|---|---|
author | Yi Li <adamliyi@msn.com> | Fri Dec 16 16:06:50 2016 +0800 |
committer | Patrick Williams <patrick@stwcx.xyz> | Mon Dec 19 13:31:20 2016 +0000 |
tree | b20ded70c71e1e23123536a7d43c912bdb7ac37f | |
parent | 51e0b89808b44838722f5572375f7e546897a41b [diff] |
Fix wrong reset pin setting When power on or power off host, the way to set reset pins based on pin polarity is not correct. This makes PCIE devices not working properly. This patch fixed bug introduced by commit: https://github.com/openbmc/skeleton/commit/3ab5436 and https://github.com/openbmc/skeleton/commit/0475f65 The relationship between expected reset pin state and pgood state looks like: pgood polarilty reset_pin(expected) 1 0 1 0 0 0 1 1 0 0 1 1 Related with openbmc/openbmc#876 Change-Id: Id0b36c15ed645c29f3ccc2aa507e50b31a718bb9 Signed-off-by: Yi Li <adamliyi@msn.com>