mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
sun7i: add USB EHCI settings
Specific USB EHCI settings to be set for sun7i if CONFIG_USB_EHCI is enabled. Signed-off-by: Roman Byshko <rbyshko@gmail.com> Acked-by: Ian Campbell <ijc@hellion.org.uk> [hdegoede@redhat.com: Use SUNXI_GPH macro for SUNXI_USB_VBUS#_GPIO] [hdegoede@redhat.com: Add #ifndef SUNXI_USB_VBUS#_GPIO to allow override of the default pins from boards.cfg] Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
3584f30ce9
commit
263b012c25
1 changed files with 12 additions and 0 deletions
|
@ -17,6 +17,18 @@
|
|||
|
||||
#define CONFIG_SYS_PROMPT "sun7i# "
|
||||
|
||||
#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
|
||||
|
||||
/*
|
||||
* Include common sunxi configuration where most the settings are
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue