usb: otg: drop confusing invalid definitions

GUSBCFG TRDT fields have very particular meanings, and the field should be set
depending on your bus speed.  There's no 8/16bit meaning in any current
reference manual for this field.

Fixes github issue #530
This commit is contained in:
Karl Palsson 2015-10-14 22:42:49 +00:00
parent c72f3d588a
commit 75d508246e

View File

@ -112,8 +112,6 @@
#define OTG_GUSBCFG_SRPCAP 0x00000100
#define OTG_GUSBCFG_HNPCAP 0x00000200
#define OTG_GUSBCFG_TRDT_MASK (0xf << 10)
#define OTG_GUSBCFG_TRDT_16BIT (0x5 << 10)
#define OTG_GUSBCFG_TRDT_8BIT (0x9 << 10)
#define OTG_GUSBCFG_NPTXRWEN 0x00004000
#define OTG_GUSBCFG_FHMOD 0x20000000
#define OTG_GUSBCFG_FDMOD 0x40000000