]> git.sur5r.net Git - u-boot/commit
powerpc/82xx: make set/get_pin for km82xx more flexible
authorHolger Brunck <holger.brunck@keymile.com>
Tue, 17 Nov 2015 09:53:25 +0000 (10:53 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 18 Nov 2015 20:28:52 +0000 (15:28 -0500)
commit74edc607d6cd6102ac181232c5bb6562a733ea7b
tree12f780e8cc4dfe3141ecf0b9988cc138bb85cc20
parentc1e121e4bda65e2e8fa4df3ed5001a2aee123216
powerpc/82xx: make set/get_pin for km82xx more flexible

The get_pin and set_pin funciton was only used for pins on Port D and
therefore the value was hard coded in the function. Enhance this with a
parameter, that we are able to use this functions for other ports too.

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
board/keymile/km82xx/km82xx.c