diff options
author | Benoît Thébaudeau <benoit.thebaudeau@advansee.com> | 2012-11-13 09:57:27 +0000 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2012-11-16 09:16:45 +0100 |
commit | 31ac2d0c6af61b16ab8c3c6cefe61f53a06219d7 (patch) | |
tree | 063d426881ff8d01a3358479b33d259db1a48efc /include/usb | |
parent | 2cfe0b8f132a04b2f1075355f062a4d05c95f096 (diff) | |
download | u-boot-imx-31ac2d0c6af61b16ab8c3c6cefe61f53a06219d7.zip u-boot-imx-31ac2d0c6af61b16ab8c3c6cefe61f53a06219d7.tar.gz u-boot-imx-31ac2d0c6af61b16ab8c3c6cefe61f53a06219d7.tar.bz2 |
ehci-mxc: Make EHCI power/oc polarities configurable
Make EHCI power and overcurrent polarities configurable. If not set, these new
configurartions keep the default register values so that existing board files
do not have to be changed.
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'include/usb')
-rw-r--r-- | include/usb/ehci-fsl.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/usb/ehci-fsl.h b/include/usb/ehci-fsl.h index 4dee5b0..a1438d6 100644 --- a/include/usb/ehci-fsl.h +++ b/include/usb/ehci-fsl.h @@ -266,11 +266,13 @@ struct usb_ehci { #define MXC_EHCI_INTERFACE_MASK (0xf) #define MXC_EHCI_POWER_PINS_ENABLED (1 << 5) -#define MXC_EHCI_TTL_ENABLED (1 << 6) +#define MXC_EHCI_PWR_PIN_ACTIVE_HIGH (1 << 6) +#define MXC_EHCI_OC_PIN_ACTIVE_LOW (1 << 7) +#define MXC_EHCI_TTL_ENABLED (1 << 8) -#define MXC_EHCI_INTERNAL_PHY (1 << 7) -#define MXC_EHCI_IPPUE_DOWN (1 << 8) -#define MXC_EHCI_IPPUE_UP (1 << 9) +#define MXC_EHCI_INTERNAL_PHY (1 << 9) +#define MXC_EHCI_IPPUE_DOWN (1 << 10) +#define MXC_EHCI_IPPUE_UP (1 << 11) /* Board-specific initialization */ int board_ehci_hcd_init(int port); |