USB detection changes. c200/e200: Consider USB to be powered when charger is plugged...
commit616c98b38f6ddac0ac3dde8ec0fa248f835717e2
authorMichael Sevakis <jethead71@rockbox.org>
Mon, 19 Jan 2009 13:41:25 +0000 (19 13:41 +0000)
committerMichael Sevakis <jethead71@rockbox.org>
Mon, 19 Jan 2009 13:41:25 +0000 (19 13:41 +0000)
tree5eeeabb85fbefa162a438edca88611c1bc688269
parentcef6399c4c3bcaa35733bdab8b9016b66b71a6f0
USB detection changes. c200/e200: Consider USB to be powered when charger is plugged but detect USB connection by bus reset. When received, disconnect and restart the driver fully enabled. imx31: Fix hack used to make initial connect succeeded-- set PHY type before initial reset. General: Move some target code out of usb-drv-arc.c and implement it in respective usb sources and CPU headers so things stay clean.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19797 a1c6a512-1295-4272-9138-f99709370657
18 files changed:
bootloader/gigabeat-s.c
firmware/export/config-c200.h
firmware/export/config-e200.h
firmware/export/config-gigabeat-s.h
firmware/export/imx31l.h
firmware/export/pp5020.h
firmware/export/usb.h
firmware/export/usb_core.h
firmware/export/usb_drv.h
firmware/target/arm/imx31/gigabeat-s/system-target.h
firmware/target/arm/imx31/gigabeat-s/usb-imx31.c
firmware/target/arm/powermgmt-ascodec.c
firmware/target/arm/usb-drv-arc.c
firmware/target/arm/usb-fw-pp502x.c
firmware/target/arm/usb-target.h
firmware/usb.c
firmware/usbstack/usb_core.c
firmware/usbstack/usb_storage.c