projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1450f1
)
[ARM] 5163/1: pxa27x_udc: Allow choosing the bits in UP2OCR_SEOS
author
Stefan Schmidt
<
[email protected]
>
Wed, 9 Jul 2008 07:07:29 +0000
(08:07 +0100)
committer
Russell King
<
[email protected]
>
Thu, 10 Jul 2008 12:44:54 +0000
(13:44 +0100)
Allow choosing the bits in UP2OCR_SEOS.
Signed-off-by: Daniel Ribeiro <
[email protected]
>
Acked-by: Eric Miao <
[email protected]
>
Signed-off-by: Russell King <
[email protected]
>
include/asm-arm/arch-pxa/pxa27x-udc.h
patch
|
blob
|
history
diff --git
a/include/asm-arm/arch-pxa/pxa27x-udc.h
b/include/asm-arm/arch-pxa/pxa27x-udc.h
index bc1cf7d0773a6873b533211f76aaca2b84ea1da7..ab1443f8bd89a3ebad4b57cbfe4315bda6a02210 100644
(file)
--- a/
include/asm-arm/arch-pxa/pxa27x-udc.h
+++ b/
include/asm-arm/arch-pxa/pxa27x-udc.h
@@
-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 */