diff options
| author | Nikhil Badola <[email protected]> | 2014-05-08 17:05:26 +0530 |
|---|---|---|
| committer | York Sun <[email protected]> | 2014-05-16 16:24:27 -0500 |
| commit | 15231f6dd14b592e2bdef33f6aea1ca1d88fd1bf (patch) | |
| tree | 488c030892b4f40ab9a0d48bfc9731954f931336 /include | |
| parent | 9c3fdd883a8c9aa32b52abf8ccc180bd4929826f (diff) | |
drivers/usb : Define usb control register mask for w1c bits
Define and use CONTROL_REGISTER_W1C_MASK to make sure that
w1c bits of usb control register do not get reset while
writing any other bit
Signed-off-by: Nikhil Badola <[email protected]>
Signed-off-by: Ramneek Mehresh <[email protected]>
Reviewed-by: York Sun <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/usb/ehci-fsl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/usb/ehci-fsl.h b/include/usb/ehci-fsl.h index c9ee1d5bf62..dd77ad63254 100644 --- a/include/usb/ehci-fsl.h +++ b/include/usb/ehci-fsl.h @@ -11,6 +11,8 @@ #include <asm/processor.h> +#define CONTROL_REGISTER_W1C_MASK 0x00020000 /* W1C: PHY_CLK_VALID */ + /* Global offsets */ #define FSL_SKIP_PCI 0x100 |
