diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-11-07 16:09:00 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2014-11-13 14:49:02 +0100 |
commit | 115200ceb0faad679bcc7d7dba4b63ff065606c5 (patch) | |
tree | d32a312cbd7802517a3b2b3fb8d7b38b92c65232 /include | |
parent | 505eceec874bdf03e00f0a0ddfccac912aa69821 (diff) | |
download | u-boot-imx-115200ceb0faad679bcc7d7dba4b63ff065606c5.zip u-boot-imx-115200ceb0faad679bcc7d7dba4b63ff065606c5.tar.gz u-boot-imx-115200ceb0faad679bcc7d7dba4b63ff065606c5.tar.bz2 |
sunxi: ehci: Add proper Kconfig options to select the usb Vbus gpio-s
Add proper Kconfig options to select the usb Vbus gpio-s, besides moving to
Kconfig being the right thing to do, an added advantage of this is that it
allows for boards without Vbus gpio-s.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/sun4i.h | 7 | ||||
-rw-r--r-- | include/configs/sun7i.h | 7 |
2 files changed, 0 insertions, 14 deletions
diff --git a/include/configs/sun4i.h b/include/configs/sun4i.h index e0ec52d..7b85740 100644 --- a/include/configs/sun4i.h +++ b/include/configs/sun4i.h @@ -18,14 +18,7 @@ #ifdef CONFIG_USB_EHCI #define CONFIG_USB_EHCI_SUNXI - #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 -#ifndef CONFIG_SUNXI_USB_VBUS0_GPIO -#define CONFIG_SUNXI_USB_VBUS0_GPIO SUNXI_GPH(6) -#endif -#ifndef CONFIG_SUNXI_USB_VBUS1_GPIO -#define CONFIG_SUNXI_USB_VBUS1_GPIO SUNXI_GPH(3) -#endif #endif /* diff --git a/include/configs/sun7i.h b/include/configs/sun7i.h index 0193826..ea40790 100644 --- a/include/configs/sun7i.h +++ b/include/configs/sun7i.h @@ -19,14 +19,7 @@ #ifdef CONFIG_USB_EHCI #define CONFIG_USB_EHCI_SUNXI - #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 -#ifndef CONFIG_SUNXI_USB_VBUS0_GPIO -#define CONFIG_SUNXI_USB_VBUS0_GPIO SUNXI_GPH(6) -#endif -#ifndef CONFIG_SUNXI_USB_VBUS1_GPIO -#define CONFIG_SUNXI_USB_VBUS1_GPIO SUNXI_GPH(3) -#endif #endif #define CONFIG_ARMV7_VIRT 1 |