Patchwork [U-Boot,2/2] rbpi: Add BCM2835 GPIO driver for raspberry pi

login
register
mail settings
Submitter Vikram Narayanan
Date June 24, 2012, 5:22 p.m.
Message ID <4FE74CCA.2070600@gmail.com>
Download mbox | patch
Permalink /patch/166892/
State Superseded
Delegated to: Tom Rini
Headers show

Comments

Vikram Narayanan - June 24, 2012, 5:22 p.m.
Add the driver to the rpi_b's default config

Signed-off-by: Vikram Narayanan <vikram186@gmail.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
---
 include/configs/rpi_b.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
Stephen Warren - June 27, 2012, 1:40 a.m.
On 06/24/2012 11:22 AM, Vikram Narayanan wrote:
> 
> Add the driver to the rpi_b's default config

It looks like there's a blank line before the patch description there.

Aside from that and the nit below,
Acked-by: Stephen Warren <swarren@wwwdotorg.org>

> diff --git a/include/configs/rpi_b.h b/include/configs/rpi_b.h

>  /* Devices */
> -/* None yet */
> +/* GPIO */
> +#define CONFIG_BCM2835_GPIO
> +
>  

No need to add an extra blank line there.

Patch

diff --git a/include/configs/rpi_b.h b/include/configs/rpi_b.h
index f547027..fb45a18 100644
--- a/include/configs/rpi_b.h
+++ b/include/configs/rpi_b.h
@@ -43,7 +43,9 @@ 
 #define CONFIG_SYS_NO_FLASH
 
 /* Devices */
-/* None yet */
+/* GPIO */
+#define CONFIG_BCM2835_GPIO
+
 
 /* Console UART */
 #define CONFIG_PL011_SERIAL