Skip to content

Commit

Permalink
[ARM] 5163/1: pxa27x_udc: Allow choosing the bits in UP2OCR_SEOS
Browse files Browse the repository at this point in the history
Allow choosing the bits in UP2OCR_SEOS.

Signed-off-by: Daniel Ribeiro <drwyrm@gmail.com>
Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Stefan Schmidt authored and Russell King committed Jul 10, 2008
1 parent c1450f1 commit 390d452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-arm/arch-pxa/pxa27x-udc.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
#define UP2OCR_IDON (1 << 10) /* OTG ID Read Enable */
#define UP2OCR_HXS (1 << 16) /* Host Port 2 Transceiver Output Select */
#define UP2OCR_HXOE (1 << 17) /* Host Port 2 Transceiver Output Enable */
#define UP2OCR_SEOS (1 << 24) /* Single-Ended Output Select */
#define UP2OCR_SEOS(x) ((x & 7) << 24) /* Single-Ended Output Select */

#define UDCCSN(x) __REG2(0x40600100, (x) << 2)
#define UDCCSR0 __REG(0x40600100) /* UDC Control/Status register - Endpoint 0 */
Expand Down

0 comments on commit 390d452

Please sign in to comment.