UPSTREAM: usb: r8a66597: Remove BE support

While the USB controller can work both in LE and BE modes, there is
no user for the BE mode, so drop it. If there ever is a user for it,
it can be easily re-added back.

Change-Id: Icbafe9f751113a669c5322af618bcc27bf20ac75
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Chris Brandt <chris.brandt@renesas.com>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit 81644e01c02967edd3da7eb6c776478a34fa7370)
This commit is contained in:
Marek Vasut 2019-08-11 13:23:11 +02:00 committed by Frank Wang
parent 1dc8df6a64
commit f6833e50d9
1 changed files with 3 additions and 3 deletions

View File

@ -140,9 +140,9 @@ static int enable_controller(struct r8a66597 *r8a66597)
for (port = 0; port < R8A66597_MAX_ROOT_HUB; port++)
r8a66597_write(r8a66597, 0, get_intenb_reg(port));
r8a66597_bset(r8a66597, CONFIG_R8A66597_ENDIAN & BIGEND, CFIFOSEL);
r8a66597_bset(r8a66597, CONFIG_R8A66597_ENDIAN & BIGEND, D0FIFOSEL);
r8a66597_bset(r8a66597, CONFIG_R8A66597_ENDIAN & BIGEND, D1FIFOSEL);
r8a66597_bclr(r8a66597, BIGEND, CFIFOSEL);
r8a66597_bclr(r8a66597, BIGEND, D0FIFOSEL);
r8a66597_bclr(r8a66597, BIGEND, D1FIFOSEL);
r8a66597_bset(r8a66597, TRNENSEL, SOFCFG);
for (port = 0; port < R8A66597_MAX_ROOT_HUB; port++)