[PATCH 2/2] Add usb support to omap3beagle

Koen Kooi
2008-04-17T12:47:52Z

[-- Attachment #1: add-beagle-usb-support.diff --]
[-- Type: application/octet-stream, Size: 1179 bytes --]

omap3beagle: register USB interface

Signed-off-by: Koen Kooi <koen@openembedded.org>
---
Makefile | 3 ++-
board-omap3beagle.c | 2 ++
2 files changed, 4 insertions(+), 1 deletion(-)
--- /tmp/board-omap3beagle.c 2008-04-16 21:23:59.342654625 +0200
+++ git/arch/arm/mach-omap2/board-omap3beagle.c 2008-04-16 21:26:13.119328284 +0200
@@ -62,6 +62,7 @@
};

extern void __init sdp_mmc_init(void);
+extern void __init sdp3430_usb_init(void);

static void __init omap3_beagle_init(void)
{
@@ -69,6 +70,7 @@
omap_board_config_size = ARRAY_SIZE(omap3_beagle_config);
omap_serial_init();
sdp_mmc_init();
+ sdp3430_usb_init();
}

arch_initcall(omap3_beagle_i2c_init);
--- /tmp/Makefile 2008-04-16 21:23:50.215989366 +0200
+++ git/arch/arm/mach-omap2/Makefile 2008-04-16 21:25:17.306636571 +0200
@@ -36,7 +36,8 @@
board-3430sdp-flash.o
obj-$(CONFIG_MACH_OMAP3EVM) += board-omap3evm.o
obj-$(CONFIG_MACH_OMAP3_BEAGLE) += board-omap3beagle.o \
- board-sdp-hsmmc.o
+ board-sdp-hsmmc.o \
+ board-3430sdp-usb.o
obj-$(CONFIG_MACH_OMAP_APOLLON) += board-apollon.o \
board-apollon-mmc.o \
board-apollon-keys.o