]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ehci-omap: Clean up added ehci-omap.c
authorGovindraj.R <govindraj.raja@ti.com>
Mon, 6 Feb 2012 03:55:34 +0000 (03:55 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sun, 12 Feb 2012 09:11:31 +0000 (10:11 +0100)
commit43b62393da6dfdd7f503d1b37344463a05ea47b5
tree31e528357b55cc7b130c1e9c0d15e46238c49c06
parent29321c0518d99494ab2a250e5b4f75b3add83b11
ehci-omap: Clean up added ehci-omap.c

Clean up added ehci-omap.c and make it generic for re-use across
omap-soc having same ehci ip block. Also pass the modes to be configured
from board file and configure the ports accordingly. All usb layers
are not cache aligned, till then keep cache off for usb ops as ehci will use
internally dma for all usb ops.

* Add a generic common header ehci-omap.h having common ip block
  data and reg shifts.
* Rename and modify ehci-omap3 to ehci.h retain only conflicting
  sysc reg shifts remove others and move to common header file.
* pass the board data for beagle/panda accordinly to use
  ehci ports.

Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Govindraj.R <govindraj.raja@ti.com>
arch/arm/include/asm/arch-omap3/ehci.h [moved from arch/arm/include/asm/arch-omap3/ehci_omap3.h with 51% similarity]
arch/arm/include/asm/arch-omap4/ehci.h [new file with mode: 0644]
arch/arm/include/asm/ehci-omap.h [new file with mode: 0644]
board/ti/beagle/beagle.c
board/ti/panda/panda.c
drivers/usb/host/ehci-omap.c