summaryrefslogtreecommitdiff
path: root/include/configs/sun8i.h
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2016-02-09 23:59:33 +0100
committerHans de Goede <hdegoede@redhat.com>2016-02-23 20:59:10 +0100
commitdc44fd8ae4be0a88123a90ae2b3acdec45290ecf (patch)
tree931a7d47d5535c7078d9403ffa4c8210d1b31f91 /include/configs/sun8i.h
parent0d8382ae70e7559eba873b4d8b2cf9a15aeccf20 (diff)
sunxi: H3: Add support for the host usb-phys
Add support for phy 1-3. Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl> [hdegoede@redhat.com: use setclrbits_le32 instead of read-modify-write] Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'include/configs/sun8i.h')
-rw-r--r--include/configs/sun8i.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/configs/sun8i.h b/include/configs/sun8i.h
index 781ff6eae2..7c0ab1eab4 100644
--- a/include/configs/sun8i.h
+++ b/include/configs/sun8i.h
@@ -18,7 +18,11 @@
#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
#endif
-#define CONFIG_SUNXI_USB_PHYS 2
+#ifdef CONFIG_MACH_SUN8I_H3
+ #define CONFIG_SUNXI_USB_PHYS 4
+#else
+ #define CONFIG_SUNXI_USB_PHYS 2
+#endif
#ifndef CONFIG_MACH_SUN8I_A83T