From 4d13cbad1c81ad7901151fec381bae8c30f4338a Mon Sep 17 00:00:00 2001 From: wdenk Date: Sun, 14 Mar 2004 14:09:05 +0000 Subject: * Patch by Tolunay Orkun, 5 Mar 2004: Fix early board initialization for Cogent CSB272 board * Patch by Ed Okerson, 3 Mar 2004: fix CFI flash writes for little endian systems * Patch by Reinhard Meyer, 01 Mar 2004: generalize USB and IDE support for MPC5200 with according changes to IceCube.h and TOP5200.h add Am29LV256 256 MBit FLASH support for TOP5200 boards add info about USB and IDE to README --- cpu/mpc5xxx/usb_ohci.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cpu/mpc5xxx') diff --git a/cpu/mpc5xxx/usb_ohci.c b/cpu/mpc5xxx/usb_ohci.c index 97ecb91..55f6d35 100644 --- a/cpu/mpc5xxx/usb_ohci.c +++ b/cpu/mpc5xxx/usb_ohci.c @@ -1532,12 +1532,13 @@ int usb_lowlevel_init(void) { /* Set the USB Clock */ - *(vu_long *)MPC5XXX_CDM_48_FDC = CONFIG_USB_CDMFDC5xxx; + *(vu_long *)MPC5XXX_CDM_48_FDC = CONFIG_USB_CLOCK; /* remove all USB bits first before ORing in ours */ *(vu_long *)MPC5XXX_GPS_PORT_CONFIG &= ~0x00807000; + /* Activate USB port */ - *(vu_long *)MPC5XXX_GPS_PORT_CONFIG |= CONFIG_USB_GPSCFG5xxx; + *(vu_long *)MPC5XXX_GPS_PORT_CONFIG |= CONFIG_USB_CONFIG; memset (&gohci, 0, sizeof (ohci_t)); memset (&urb_priv, 0, sizeof (urb_priv_t)); -- cgit v1.1