* [PATCH 1/2] ARM i.MX6: add usb function prototypes
@ 2012-09-15 13:56 Steffen Trumtrar
2012-09-15 13:56 ` [PATCH 2/2] ARM i.MX6: fix usb_ehci warnings for sabrelite Steffen Trumtrar
2012-09-16 7:49 ` [PATCH 1/2] ARM i.MX6: add usb function prototypes Sascha Hauer
0 siblings, 2 replies; 3+ messages in thread
From: Steffen Trumtrar @ 2012-09-15 13:56 UTC (permalink / raw)
To: barebox; +Cc: Steffen Trumtrar
Add missing prototypes to mach/usb.h
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
arch/arm/mach-imx/include/mach/usb.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/mach-imx/include/mach/usb.h b/arch/arm/mach-imx/include/mach/usb.h
index 5d6670d..d953bf0 100644
--- a/arch/arm/mach-imx/include/mach/usb.h
+++ b/arch/arm/mach-imx/include/mach/usb.h
@@ -11,4 +11,7 @@
#define MX35_H1_USBTE_BIT (1 << 4)
#define MXC_EHCI_INTERFACE_SINGLE_UNI (2 << 0)
+
+int imx6_usb_phy1_disable_oc(void);
+int imx6_usb_phy1_enable(void);
#endif /* __MACH_USB_H_*/
--
1.7.10.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 2/2] ARM i.MX6: fix usb_ehci warnings for sabrelite
2012-09-15 13:56 [PATCH 1/2] ARM i.MX6: add usb function prototypes Steffen Trumtrar
@ 2012-09-15 13:56 ` Steffen Trumtrar
2012-09-16 7:49 ` [PATCH 1/2] ARM i.MX6: add usb function prototypes Sascha Hauer
1 sibling, 0 replies; 3+ messages in thread
From: Steffen Trumtrar @ 2012-09-15 13:56 UTC (permalink / raw)
To: barebox; +Cc: Steffen Trumtrar
This fixes the following warnings:
arch/arm/boards/freescale-mx6-sabrelite/board.c: In function 'sabrelite_ehci_init':
arch/arm/boards/freescale-mx6-sabrelite/board.c:265:2: warning: implicit declaration of function 'imx6_usb_phy1_disable_oc' [-Wimplicit-function-declaration]
arch/arm/boards/freescale-mx6-sabrelite/board.c:266:2: warning: implicit declaration of function 'imx6_usb_phy1_enable' [-Wimplicit-function-declaration]
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
arch/arm/boards/freescale-mx6-sabrelite/board.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boards/freescale-mx6-sabrelite/board.c b/arch/arm/boards/freescale-mx6-sabrelite/board.c
index 1ac401e..c5bcf8b 100644
--- a/arch/arm/boards/freescale-mx6-sabrelite/board.c
+++ b/arch/arm/boards/freescale-mx6-sabrelite/board.c
@@ -40,6 +40,7 @@
#include <mach/gpio.h>
#include <spi/spi.h>
#include <mach/spi.h>
+#include <mach/usb.h>
#define SABRELITE_SD3_WP IMX_GPIO_NR(7, 1)
#define SABRELITE_SD3_CD IMX_GPIO_NR(7, 0)
--
1.7.10.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] ARM i.MX6: add usb function prototypes
2012-09-15 13:56 [PATCH 1/2] ARM i.MX6: add usb function prototypes Steffen Trumtrar
2012-09-15 13:56 ` [PATCH 2/2] ARM i.MX6: fix usb_ehci warnings for sabrelite Steffen Trumtrar
@ 2012-09-16 7:49 ` Sascha Hauer
1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2012-09-16 7:49 UTC (permalink / raw)
To: Steffen Trumtrar; +Cc: barebox
On Sat, Sep 15, 2012 at 03:56:24PM +0200, Steffen Trumtrar wrote:
> Add missing prototypes to mach/usb.h
>
> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Applied, thanks
Sascha
> ---
> arch/arm/mach-imx/include/mach/usb.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/arch/arm/mach-imx/include/mach/usb.h b/arch/arm/mach-imx/include/mach/usb.h
> index 5d6670d..d953bf0 100644
> --- a/arch/arm/mach-imx/include/mach/usb.h
> +++ b/arch/arm/mach-imx/include/mach/usb.h
> @@ -11,4 +11,7 @@
> #define MX35_H1_USBTE_BIT (1 << 4)
> #define MXC_EHCI_INTERFACE_SINGLE_UNI (2 << 0)
>
> +
> +int imx6_usb_phy1_disable_oc(void);
> +int imx6_usb_phy1_enable(void);
> #endif /* __MACH_USB_H_*/
> --
> 1.7.10.4
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-09-16 7:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-15 13:56 [PATCH 1/2] ARM i.MX6: add usb function prototypes Steffen Trumtrar
2012-09-15 13:56 ` [PATCH 2/2] ARM i.MX6: fix usb_ehci warnings for sabrelite Steffen Trumtrar
2012-09-16 7:49 ` [PATCH 1/2] ARM i.MX6: add usb function prototypes Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox