]> git.sur5r.net Git - u-boot/commitdiff
sun5i: add USB EHCI settings
authorHans de Goede <hdegoede@redhat.com>
Sat, 26 Jul 2014 17:13:47 +0000 (19:13 +0200)
committerHans de Goede <hdegoede@redhat.com>
Thu, 31 Jul 2014 13:37:23 +0000 (15:37 +0200)
Specific USB EHCI settings to be set for sun5i if CONFIG_USB_EHCI is enabled.

Note we don't specify default VBUS gpio pins for sun5i since they vary too
much from board to board.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
include/configs/sun5i.h

index c6138b7cd4f392cf4ef318a2aa1cb4e6d54236b7..6066371a17d8d172c62d00cff4f4a508c5de53ee 100644 (file)
 
 #define CONFIG_SYS_PROMPT              "sun5i# "
 
+#ifdef CONFIG_USB_EHCI
+#define CONFIG_USB_EHCI_SUNXI
+#define CONFIG_USB_MAX_CONTROLLER_COUNT        1
+#endif
+
 /*
  * Include common sunxi configuration where most the settings are
  */