[U-Boot] Blackfin: cmd_gpio port/pin naming
Mike Frysinger
vapier at gentoo.org
Mon Jan 10 17:28:25 CET 2011
On Mon, Jan 10, 2011 at 10:59 AM, Andreas Pretzsch wrote:
> As your code already uses the Linux GPIO conventions and naming (without
> the gpio_chip stuff, which is not necessary for a bootloader IMHO), it'd
> be a solid base for that.
>
> Mr. Denk, are there any plans for a generic GPIO layer in U-Boot ?
if we arent supporting gpio_chips, then there really isnt much need
for common GPIO code. there is already a generic GPIO layer in U-Boot
just like in Linux -- include asm/gpio.h and use the normal gpio_xxx
set of functions.
-mike
More information about the U-Boot
mailing list