Hi Am Donnerstag, 10. Mai 2007 14:37 schrieb Steve Bennett: > This line from usb-host-clock looks like it should be &= to me: > > (*(volatile u16 *) (0xFC0A0010)) |= ~(0x0002); > > Cheers, > Steve Obviously a typo and no one ever tested it on 180MHz, see patch:
--- arch/m68knommu/platform/532x/usb-mcf532x.c 23 Mar 2007 14:25:35 -0000 1.1.1.2.2.4 +++ arch/m68knommu/platform/532x/usb-mcf532x.c 10 May 2007 13:44:59 -0000 1.1.1.2.2.5 @@ -133,7 +133,7 @@ /* * CPU oerating on 180Mhz (MISCCR[USBDIV]=0) */ - (*(volatile u16 *) (0xFC0A0010)) |= ~(0x0002); + (*(volatile u16 *) (0xFC0A0010)) &= ~(0x0002); #else #error "CLOCK must be 240MHz or 180Mhz" #endif Signed-off-by: Thomas Brinker <[EMAIL PROTECTED]> Regards Thomas -- Dipl.-Ing. Thomas Brinker, emlix GmbH, http://www.emlix.com Fon +49 30 275911-00, Fax -33, Poststr. 4/5, 10178 Berlin, Germany Geschäftsführung: Dr. Uwe Kracke, Dr. Cord Seele, Ust-IdNr.: DE 205 198 055 Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen HR B 3160 emlix - your embedded linux partner _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev