commit | 8428d4422258a3f0eb33e561aaf2d3eae2ba85d9 | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Tue Aug 07 14:28:35 2018 -0500 |
committer | Matt Spinler <spinler@us.ibm.com> | Tue Aug 14 15:42:00 2018 -0500 |
tree | 13af55261416b5507842595d2643be4b85d49a9d | |
parent | 3a70e9386ea5b57b3e3bdedb392d5b69028f757a [diff] |
Fill in function to convert GPIO pin to a number Convert the pin, like "A7" to the number that identifies that GPIO in /sys/class/gpio/. This most likely only supports ASPEED BMCs, though of course support can be added for others if the need arises and this code is still in use. Change-Id: I404716652ffc29c27933ed13225bc074341fa473 Signed-off-by: Matt Spinler <spinler@us.ibm.com>