diff options
author | Felipe Balbi <balbi@ti.com> | 2011-09-08 10:41:00 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-09-09 06:05:24 -0400 |
commit | f78d32e79ea3218da34e78ccca4eb4de14f2512d (patch) | |
tree | 1e1154ff7fa1e8cb3baa345d9498c2053d6fcdab /drivers | |
parent | f4aadbe49e9b0cae2c5e889061e10b9a335fe791 (diff) |
usb: dwc3: define ScaleDown macro helper
We must ensure that those bits aren't set as
they should only be used in simulation.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/dwc3/core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h index e149f570437a..92673fd5314d 100644 --- a/drivers/usb/dwc3/core.h +++ b/drivers/usb/dwc3/core.h | |||
@@ -160,6 +160,7 @@ | |||
160 | #define DWC3_GCTL_PRTCAP_OTG 3 | 160 | #define DWC3_GCTL_PRTCAP_OTG 3 |
161 | 161 | ||
162 | #define DWC3_GCTL_CORESOFTRESET (1 << 11) | 162 | #define DWC3_GCTL_CORESOFTRESET (1 << 11) |
163 | #define DWC3_GCTL_SCALEDOWN(n) (n << 4) | ||
163 | #define DWC3_GCTL_DISSCRAMBLE (1 << 3) | 164 | #define DWC3_GCTL_DISSCRAMBLE (1 << 3) |
164 | 165 | ||
165 | /* Global USB2 PHY Configuration Register */ | 166 | /* Global USB2 PHY Configuration Register */ |