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

Rodrigo L. Rosa rodrigorosa.lg at gmail.com
Mon Aug 15 09:26:38 CEST 2011


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(-)

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};
 
-- 
1.7.0.4



More information about the U-Boot mailing list