
10 Jan
2011
10 Jan
'11
5:28 p.m.
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