diff options
author | Marek Vasut <marex@denx.de> | 2013-07-10 03:16:30 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2013-07-29 23:01:31 +0200 |
commit | 2ea4b44832eee9a85167bd2a54a7b603618d80b0 (patch) | |
tree | c976a16d532e91bf39e4f2dee510efccb5dc1855 /drivers/usb/host/ehci-hcd.c | |
parent | 532d846f891f31e2582428d7572b98103e3ec268 (diff) | |
download | u-boot-imx-2ea4b44832eee9a85167bd2a54a7b603618d80b0.zip u-boot-imx-2ea4b44832eee9a85167bd2a54a7b603618d80b0.tar.gz u-boot-imx-2ea4b44832eee9a85167bd2a54a7b603618d80b0.tar.bz2 |
usb: mv_udc: Clean up the EP initialization
Move the constant values that are programmed into mv_ep.ep into
separate static const structure so they can be memcpy()'d when
the initialization happens.
Moveover, we only every init NUM_ENDPOINTS, not 2 * NUM_ENDPOINTS,
so fix this bug as well.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Lei Wen <leiwen@marvell.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'drivers/usb/host/ehci-hcd.c')
0 files changed, 0 insertions, 0 deletions