Patchwork [U-Boot] beagle-asm/arch/gpio.h to asm/omap_gpio.h

login
register
mail settings
Submitter Rodrigo L. Rosa
Date Aug. 15, 2011, 7:26 a.m.
Message ID <1313393198-27201-1-git-send-email-rodrigorosa.LG@gmail.com>
Download mbox | patch
Permalink /patch/110013/
State Changes Requested
Headers show

Comments

Rodrigo L. Rosa - Aug. 15, 2011, 7:26 a.m.
i was doing
make omap3_beagle_config
make all
and getting an error about not finding asm/arch/gpio.h (which does not exist)
fixed the includes to find the file.
i know nothing about this software, just followed this:
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/105274/match=asm+arch+gpio+h
---
 board/ti/beagle/beagle.c |    2 +-
 board/ti/beagle/led.c    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Wolfgang Denk - Oct. 6, 2011, 9:54 p.m.
Dear "Rodrigo L. Rosa",

In message <1313393198-27201-1-git-send-email-rodrigorosa.LG@gmail.com> you wrote:
> i was doing
> make omap3_beagle_config
> make all
> and getting an error about not finding asm/arch/gpio.h (which does not exist)
> fixed the includes to find the file.
> i know nothing about this software, just followed this:
> http://article.gmane.org/gmane.comp.boot-loaders.u-boot/105274/match=asm+arch+gpio+h
> ---
>  board/ti/beagle/beagle.c |    2 +-
>  board/ti/beagle/led.c    |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

If this is supposed to be a patch, you ar emissing at least the
Signed-off-by: line(s).

Best regards,

Wolfgang Denk

Patch

diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c
index ab50514..bddae20 100644
--- a/board/ti/beagle/beagle.c
+++ b/board/ti/beagle/beagle.c
@@ -38,7 +38,7 @@ 
 #include <asm/arch/mmc_host_def.h>
 #include <asm/arch/mux.h>
 #include <asm/arch/sys_proto.h>
-#include <asm/arch/gpio.h>
+#include <asm/omap_gpio.h>
 #include <asm/mach-types.h>
 #ifdef CONFIG_USB_EHCI
 #include <usb.h>
diff --git a/board/ti/beagle/led.c b/board/ti/beagle/led.c
index 08f95a0..c1ea8ce 100644
--- a/board/ti/beagle/led.c
+++ b/board/ti/beagle/led.c
@@ -22,7 +22,7 @@ 
 #include <asm/arch/cpu.h>
 #include <asm/io.h>
 #include <asm/arch/sys_proto.h>
-#include <asm/arch/gpio.h>
+#include <asm/omap_gpio.h>
 
 static unsigned int saved_state[2] = {STATUS_LED_OFF, STATUS_LED_OFF};