diff -dpurN u-boot.orig/cpu/arm920t/s3c24x0/usb_ohci.c u-boot/cpu/arm920t/s3c24x0/usb_ohci.c --- u-boot.orig/cpu/arm920t/s3c24x0/usb_ohci.c 2007-02-19 08:21:17.000000000 +0100 +++ u-boot/cpu/arm920t/s3c24x0/usb_ohci.c 2007-02-19 08:52:09.000000000 +0100 @@ -1605,7 +1605,7 @@ int usb_lowlevel_init(void) /* * Enable USB host clock. */ - clk_power->CLKCON |= (1 << 4); + clk_power->CLKCON |= CLKCON_USBHOST; memset (&gohci, 0, sizeof (ohci_t)); memset (&urb_priv, 0, sizeof (urb_priv_t)); @@ -1642,7 +1642,7 @@ int usb_lowlevel_init(void) if (hc_reset (&gohci) < 0) { hc_release_ohci (&gohci); /* Initialization failed */ - clk_power->CLKCON &= ~(1 << 4); + clk_power->CLKCON &= ~CLKCON_USBHOST; return -1; } @@ -1655,7 +1655,7 @@ int usb_lowlevel_init(void) err ("can't start usb-%s", gohci.slot_name); hc_release_ohci (&gohci); /* Initialization failed */ - clk_power->CLKCON &= ~(1 << 4); + clk_power->CLKCON &= ~CLKCON_USBHOST; return -1; } @@ -1682,7 +1682,7 @@ int usb_lowlevel_stop(void) /* call hc_release_ohci() here ? */ hc_reset (&gohci); /* may not want to do this */ - clk_power->CLKCON &= ~(1 << 4); + clk_power->CLKCON &= ~CLKCON_USBHOST; return 0; } diff -dpurN u-boot.orig/include/s3c2400.h u-boot/include/s3c2400.h --- u-boot.orig/include/s3c2400.h 2007-02-19 08:21:20.000000000 +0100 +++ u-boot/include/s3c2400.h 2007-02-19 08:48:56.000000000 +0100 @@ -40,6 +40,10 @@ typedef enum { S3C24X0_UART1, } S3C24X0_UARTS_NR; +enum { + CLKCON_USBHOST = 1 << 4, +}; + /* S3C2400 device base addresses */ #define S3C24X0_MEMCTL_BASE 0x14000000 #define S3C24X0_USB_HOST_BASE 0x14200000 diff -dpurN u-boot.orig/include/s3c2410.h u-boot/include/s3c2410.h --- u-boot.orig/include/s3c2410.h 2007-02-19 08:21:20.000000000 +0100 +++ u-boot/include/s3c2410.h 2007-02-19 08:49:36.000000000 +0100 @@ -44,6 +44,10 @@ typedef enum { S3C24X0_UART2 } S3C24X0_UARTS_NR; +enum { + CLKCON_USBHOST = 1 << 6, +}; + /* S3C2410 device base addresses */ #define S3C24X0_MEMCTL_BASE 0x48000000 #define S3C24X0_USB_HOST_BASE 0x49000000