* [PATCH] USB: BEAGLE: Add usb support for omap3beagle
@ 2008-04-24 21:46 Felipe Balbi
2008-04-24 21:47 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: Felipe Balbi @ 2008-04-24 21:46 UTC (permalink / raw)
To: linux-omap; +Cc: Koen Kooi, Felipe Balbi, Felipe Balbi
From: Felipe Balbi <felipe.balbi@nokia.com>
This patch is based on previous patch by
Koen Kooi <koen@openembedded.org>. It uses
the new generic usb init calls for omap3-
and omap2430-based boards.
Signed-off-by: Felipe Balbi <me@felipebalbi.com>
---
arch/arm/mach-omap2/Makefile | 1 +
arch/arm/mach-omap2/board-omap3beagle.c | 4 ++++
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
index 9b6f60e..725dae5 100644
--- a/arch/arm/mach-omap2/Makefile
+++ b/arch/arm/mach-omap2/Makefile
@@ -39,6 +39,7 @@ obj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o \
board-3430sdp-flash.o
obj-$(CONFIG_MACH_OMAP3EVM) += board-omap3evm.o
obj-$(CONFIG_MACH_OMAP3_BEAGLE) += board-omap3beagle.o \
+ usb-musb.o usb-ehci.o \
board-sdp-hsmmc.o
obj-$(CONFIG_MACH_OMAP_APOLLON) += board-apollon.o \
board-apollon-mmc.o \
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
index c03bb26..ad5ad2e 100644
--- a/arch/arm/mach-omap2/board-omap3beagle.c
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
@@ -27,6 +27,8 @@
#include <asm/arch/gpio.h>
#include <asm/arch/board.h>
+#include <asm/arch/usb-musb.h>
+#include <asm/arch/usb-ehci.h>
#include <asm/arch/common.h>
static struct omap_uart_config omap3_beagle_uart_config __initdata = {
@@ -66,6 +68,8 @@ static void __init omap3_beagle_init(void)
omap_board_config_size = ARRAY_SIZE(omap3_beagle_config);
omap_serial_init();
sdp_mmc_init();
+ usb_musb_init();
+ usb_ehci_init();
}
arch_initcall(omap3_beagle_i2c_init);
--
1.5.4.3.447.gc95b3
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] USB: BEAGLE: Add usb support for omap3beagle
2008-04-24 21:46 [PATCH] USB: BEAGLE: Add usb support for omap3beagle Felipe Balbi
@ 2008-04-24 21:47 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2008-04-24 21:47 UTC (permalink / raw)
To: Felipe Balbi; +Cc: linux-omap, Koen Kooi, Felipe Balbi
* Felipe Balbi <me@felipebalbi.com> [080424 14:45]:
> From: Felipe Balbi <felipe.balbi@nokia.com>
>
> This patch is based on previous patch by
> Koen Kooi <koen@openembedded.org>. It uses
> the new generic usb init calls for omap3-
> and omap2430-based boards.
Great, pushing today.
Tony
> Signed-off-by: Felipe Balbi <me@felipebalbi.com>
> ---
> arch/arm/mach-omap2/Makefile | 1 +
> arch/arm/mach-omap2/board-omap3beagle.c | 4 ++++
> 2 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
> index 9b6f60e..725dae5 100644
> --- a/arch/arm/mach-omap2/Makefile
> +++ b/arch/arm/mach-omap2/Makefile
> @@ -39,6 +39,7 @@ obj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o \
> board-3430sdp-flash.o
> obj-$(CONFIG_MACH_OMAP3EVM) += board-omap3evm.o
> obj-$(CONFIG_MACH_OMAP3_BEAGLE) += board-omap3beagle.o \
> + usb-musb.o usb-ehci.o \
> board-sdp-hsmmc.o
> obj-$(CONFIG_MACH_OMAP_APOLLON) += board-apollon.o \
> board-apollon-mmc.o \
> diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
> index c03bb26..ad5ad2e 100644
> --- a/arch/arm/mach-omap2/board-omap3beagle.c
> +++ b/arch/arm/mach-omap2/board-omap3beagle.c
> @@ -27,6 +27,8 @@
>
> #include <asm/arch/gpio.h>
> #include <asm/arch/board.h>
> +#include <asm/arch/usb-musb.h>
> +#include <asm/arch/usb-ehci.h>
> #include <asm/arch/common.h>
>
> static struct omap_uart_config omap3_beagle_uart_config __initdata = {
> @@ -66,6 +68,8 @@ static void __init omap3_beagle_init(void)
> omap_board_config_size = ARRAY_SIZE(omap3_beagle_config);
> omap_serial_init();
> sdp_mmc_init();
> + usb_musb_init();
> + usb_ehci_init();
> }
>
> arch_initcall(omap3_beagle_i2c_init);
> --
> 1.5.4.3.447.gc95b3
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-04-24 21:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-24 21:46 [PATCH] USB: BEAGLE: Add usb support for omap3beagle Felipe Balbi
2008-04-24 21:47 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox