[U-Boot] [PATCH v2] ppc4xx: Add CATCenter Io 405EP board support

Eibach, Dirk Eibach at gdsys.de
Wed Oct 13 14:19:19 CEST 2010


Hi Stefan, 

> Why not use the already available GPIO functions instead 
> (gpio_write_bit() etc)? This will make it easier to move this 
> to the common (Linux) GPIO API at some time later.
> 

Hmm, nice, didn't notice those yet.
But somehow functionality is missing for toggling between output and
tristate mode without changing output value.
In linux we have gpio_direction_input() and gpio_direction_output() for
this purpose.

Should I add something like this to ppc4xx-gpio.h?

> Cheers,
> Stefan

Cheers
Dirk




More information about the U-Boot mailing list