open-power / pdbg

PowerPC FSI Debugger
Apache License 2.0
16 stars 39 forks source link

Support all pins in GPIO handlers for BMC FSI #9

Closed GHF closed 7 years ago

GHF commented 7 years ago

Expand GPIO handlers to support pins other than those in GPIO A/B/C/D/E/F/G/H by adding other GPIO blocks' data value and direction register offsets.

Note that the GPIO number bounds checking is based on the Aspeed AST2500 parallel GPIO controller, which is a superset of AST2400's.

Fixes open-power/pdbg#8.

Signed-off-by: Xo Wang xow@google.com


This change is Reviewable