[U-Boot] [PATCH 1/4] dm: rpi: Convert GPIO driver to driver model

2014-09-22 Thread Simon Glass
Convert the BCM2835 GPIO driver to use driver model, and switch over Raspberry Pi to use this, since it is the only board. Signed-off-by: Simon Glass --- arch/arm/include/asm/arch-bcm2835/gpio.h | 9 ++ board/raspberrypi/rpi_b/rpi_b.c | 11 ++ drivers/gpio/bcm2835_gpio.c

Re: [U-Boot] [PATCH 1/4] dm: rpi: Convert GPIO driver to driver model

2014-09-30 Thread Stephen Warren
On 09/22/2014 05:30 PM, Simon Glass wrote: > Convert the BCM2835 GPIO driver to use driver model, and switch over > Raspberry Pi to use this, since it is the only board. > diff --git a/drivers/gpio/bcm2835_gpio.c b/drivers/gpio/bcm2835_gpio.c > +static inline bool gpio_is_requested(struct bcm2835

Re: [U-Boot] [PATCH 1/4] dm: rpi: Convert GPIO driver to driver model

2014-09-30 Thread Simon Glass
Hi Stephen, On 30 September 2014 19:40, Stephen Warren wrote: > On 09/22/2014 05:30 PM, Simon Glass wrote: >> Convert the BCM2835 GPIO driver to use driver model, and switch over >> Raspberry Pi to use this, since it is the only board. > >> diff --git a/drivers/gpio/bcm2835_gpio.c b/drivers/gpio/

Re: [U-Boot] [PATCH 1/4] dm: rpi: Convert GPIO driver to driver model

2014-10-22 Thread Simon Glass
On 22 September 2014 17:30, Simon Glass wrote: > Convert the BCM2835 GPIO driver to use driver model, and switch over > Raspberry Pi to use this, since it is the only board. > > Signed-off-by: Simon Glass > --- > > arch/arm/include/asm/arch-bcm2835/gpio.h | 9 ++ > board/raspberrypi/rpi_b/rpi_