usb: cdns3: Split core.c into cdns3-plat and core.c file
authorPawel Laszczak <pawell@cadence.com>
Mon, 7 Dec 2020 10:32:19 +0000 (11:32 +0100)
committerPeter Chen <peter.chen@nxp.com>
Tue, 29 Dec 2020 04:36:13 +0000 (12:36 +0800)
commitf738957277bad824b422399a214b630d7832f884
tree11744810ab909b1aace22c47097847abd0ccdad9
parentdb8892bb1bb64b6e3d1381ac342a2ee31e1b76b6
usb: cdns3: Split core.c into cdns3-plat and core.c file

Patch splits file core.c into core.c containing the common reusable code
and cnd3-plat.c containing device platform specific code. These changes
are required to make possible reuse DRD part of CDNS3 driver in CDNSP
driver.

Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Tested-by: Aswath Govindraju <a-govindraju@ti.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
drivers/usb/cdns3/Makefile
drivers/usb/cdns3/cdns3-plat.c [new file with mode: 0644]
drivers/usb/cdns3/core.c
drivers/usb/cdns3/core.h
drivers/usb/cdns3/drd.c
drivers/usb/cdns3/drd.h