* [U-Boot] [PATCH] MX25: tx25: Fix build by making use of GPIO framework
@ 2011-08-29 14:27 Fabio Estevam
2011-08-29 14:39 ` Stefano Babic
2011-08-30 9:26 ` Stefano Babic
0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2011-08-29 14:27 UTC (permalink / raw)
To: u-boot
From: Fabio Estevam <festevam@gmail.com>
Make use of GPIO framework and avoid the following build error:
tx25.c: In function 'tx25_fec_init':
tx25.c:73: error: dereferencing pointer to incomplete type
tx25.c:74: error: dereferencing pointer to incomplete type
tx25.c:75: error: dereferencing pointer to incomplete type
tx25.c:76: error: dereferencing pointer to incomplete type
tx25.c:83: error: dereferencing pointer to incomplete type
tx25.c:84: error: dereferencing pointer to incomplete type
tx25.c:114: error: dereferencing pointer to incomplete type
tx25.c:115: error: dereferencing pointer to incomplete type
tx25.c:116: error: dereferencing pointer to incomplete type
tx25.c:117: error: dereferencing pointer to incomplete type
tx25.c:124: error: dereferencing pointer to incomplete type
tx25.c:125: error: dereferencing pointer to incomplete type
tx25.c:126: error: dereferencing pointer to incomplete type
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
board/karo/tx25/tx25.c | 1 +
include/configs/tx25.h | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/board/karo/tx25/tx25.c b/board/karo/tx25/tx25.c
index 25b99e8..ce75468 100644
--- a/board/karo/tx25/tx25.c
+++ b/board/karo/tx25/tx25.c
@@ -28,6 +28,7 @@
#include <asm/io.h>
#include <asm/arch/imx-regs.h>
#include <asm/arch/imx25-pinmux.h>
+#include <asm/gpio.h>
static void mdelay(int n)
{
diff --git a/include/configs/tx25.h b/include/configs/tx25.h
index b284daa..cb604a5 100644
--- a/include/configs/tx25.h
+++ b/include/configs/tx25.h
@@ -91,6 +91,8 @@
#define CONFIG_BAUDRATE 115200 /* Default baud rate */
#define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }
+#define CONFIG_MXC_GPIO
+
/*
* Flash & Environment
*/
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] MX25: tx25: Fix build by making use of GPIO framework
2011-08-29 14:27 [U-Boot] [PATCH] MX25: tx25: Fix build by making use of GPIO framework Fabio Estevam
@ 2011-08-29 14:39 ` Stefano Babic
2011-08-30 9:26 ` Stefano Babic
1 sibling, 0 replies; 3+ messages in thread
From: Stefano Babic @ 2011-08-29 14:39 UTC (permalink / raw)
To: u-boot
On 08/29/2011 04:27 PM, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@gmail.com>
>
> Make use of GPIO framework and avoid the following build error:
Hi Fabio,
> tx25.c:126: error: dereferencing pointer to incomplete type
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> board/karo/tx25/tx25.c | 1 +
> include/configs/tx25.h | 2 ++
> 2 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/board/karo/tx25/tx25.c b/board/karo/tx25/tx25.c
> index 25b99e8..ce75468 100644
> --- a/board/karo/tx25/tx25.c
> +++ b/board/karo/tx25/tx25.c
> @@ -28,6 +28,7 @@
> #include <asm/io.h>
> #include <asm/arch/imx-regs.h>
> #include <asm/arch/imx25-pinmux.h>
> +#include <asm/gpio.h>
>
Thanks, I missed this board !
Acked-by: Stefano Babic <sbabic@denx.de>
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] MX25: tx25: Fix build by making use of GPIO framework
2011-08-29 14:27 [U-Boot] [PATCH] MX25: tx25: Fix build by making use of GPIO framework Fabio Estevam
2011-08-29 14:39 ` Stefano Babic
@ 2011-08-30 9:26 ` Stefano Babic
1 sibling, 0 replies; 3+ messages in thread
From: Stefano Babic @ 2011-08-30 9:26 UTC (permalink / raw)
To: u-boot
On 08/29/2011 04:27 PM, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@gmail.com>
>
> Make use of GPIO framework and avoid the following build error:
>
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-08-30 9:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-29 14:27 [U-Boot] [PATCH] MX25: tx25: Fix build by making use of GPIO framework Fabio Estevam
2011-08-29 14:39 ` Stefano Babic
2011-08-30 9:26 ` Stefano Babic
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.