[U-Boot] [PATCH 1/2] mpc85xx gpio related header files changes to compile common cmd_gpio.c

Joakim Tjernlund joakim.tjernlund at transmode.se
Fri Mar 27 16:46:26 CET 2015


On Fri, 2015-03-27 at 10:51 -0400, Oleksandr G Zhadan wrote:
> Extra gpio bank argument at low level may be discussable, but IMPO we 
> should not brake standard int gpio_set_value(unsigned gpio, int value) 
> definition.
> 
> And the reason of this patch is to fix:
> 
> 1. Incompatibility in functions gpio_free() and gpio_set_value() 
> definitions between <asm/gpio.h> and <asm-generic/gpio.h> (void vs int)
> 
> 2. Compilation error when build common/cmd_gpio.c for mpc85xx (p1020)

Sure, when I saw "mpc85xx gpio .." I remembered seeing this flaw so I figured
I point it out before I forget again.

This also makes me remember, drivers/spi/fsl_espi.c is broken for anything
but reading an EEPROM.

  Jocke   


More information about the U-Boot mailing list