]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: da850evm: Enable da850-ohci USB host controller
authorAdam Ford <aford173@gmail.com>
Tue, 30 Apr 2019 10:21:42 +0000 (05:21 -0500)
committerTom Rini <trini@konsulko.com>
Sun, 5 May 2019 12:48:50 +0000 (08:48 -0400)
The DA850 EVM has one USB 1.1 OHCI Host controller.  With the
host controller now support DM_USB, this patch enables
the respective functions for the da850evm.

Signed-off-by: Adam Ford <aford173@gmail.com>
configs/da850evm_defconfig
include/configs/da850evm.h

index 221c204af0db2d0a645c5b1d378bde8a3e4895e6..09c6147e2d1b370504024e8b67d89a4a47e3d2fe 100644 (file)
@@ -68,5 +68,10 @@ CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_DAVINCI_SPI=y
+CONFIG_USB=y
+CONFIG_DM_USB=y
+# CONFIG_SPL_DM_USB is not set
+CONFIG_USB_OHCI_HCD=y
+CONFIG_USB_OHCI_DA8XX=y
 # CONFIG_FAT_WRITE is not set
 CONFIG_USE_TINY_PRINTF=y
index 41ff6676e06e907992bbc946ed1f28f62b1761e2..ccdac0abece4dfc76713300314557334a35aac58 100644 (file)
 #define CONFIG_ENV_SIZE                (16 << 10)
 #endif
 
+/* USB Configs */
+#define CONFIG_SYS_USB_OHCI_CPU_INIT
+#define CONFIG_USB_OHCI_NEW
+#define CONFIG_USB_STORAGE
+#define CONFIG_SYS_USB_OHCI_REGS_BASE          0x01E25000
+#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS     15
+#define CONFIG_SYS_USB_OHCI_SLOT_NAME          "da850evm"
+
 #ifndef CONFIG_DIRECT_NOR_BOOT
 /* defines for SPL */
 #define CONFIG_SYS_SPL_MALLOC_START    (CONFIG_SYS_TEXT_BASE - \