summaryrefslogtreecommitdiff
path: root/include/configs
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
parent0d8382ae70e7559eba873b4d8b2cf9a15aeccf20 (diff)
downloadu-boot-imx-dc44fd8ae4be0a88123a90ae2b3acdec45290ecf.zip
u-boot-imx-dc44fd8ae4be0a88123a90ae2b3acdec45290ecf.tar.gz
u-boot-imx-dc44fd8ae4be0a88123a90ae2b3acdec45290ecf.tar.bz2
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')
-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 781ff6e..7c0ab1e 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