[PATCH/next] Mini2440: Everything's now present to provide USB host feature

Juergen Beisert jbe at pengutronix.de
Wed Nov 16 04:10:24 EST 2011

The S3C2440 CPU comes with an internal OHCI the generic part of
Barebox already supports. Just add the missing part.

Signed-off-by: Juergen Beisert <jbe at pengutronix.de>

diff --git a/arch/arm/boards/mini2440/mini2440.c b/arch/arm/boards/mini2440/mini2440.c
index 4351023..56e2668 100644
--- a/arch/arm/boards/mini2440/mini2440.c
+++ b/arch/arm/boards/mini2440/mini2440.c
@@ -313,6 +313,8 @@ static int mini2440_devices_init(void)
 			   IORESOURCE_MEM, &mci_data);
 	add_generic_device("s3c_fb", 0, NULL, S3C2410_LCD_BASE, 0,
 			   IORESOURCE_MEM, &s3c24x0_fb_data);
+	add_generic_device("ohci", 0, NULL, S3C2410_USB_HOST_BASE, 0x100,
 	armlinux_set_bootparams((void*)CS6_BASE + 0x100);
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

More information about the barebox mailing list