ARM: omapl138_lcdk: Enable USB
authorAdam Ford <aford173@gmail.com>
Mon, 12 Aug 2019 21:45:21 +0000 (16:45 -0500)
committerTom Rini <trini@konsulko.com>
Tue, 20 Aug 2019 15:46:38 +0000 (11:46 -0400)
The OMAPL138-lcdk has two USB controllers which are currently
disabled.  This patch enables them.

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

index 4106c29..76c7ed6 100644 (file)
@@ -52,7 +52,18 @@ CONFIG_SPL_NAND_SIMPLE=y
 CONFIG_DM_ETH=y
 CONFIG_MII=y
 CONFIG_DRIVER_TI_EMAC=y
+CONFIG_PHY=y
+CONFIG_PHY_DA8XX_USB=y
 CONFIG_SPECIFY_CONSOLE_INDEX=y
 CONFIG_DM_SERIAL=y
 CONFIG_SYS_NS16550=y
+CONFIG_USE_TINY_PRINTF=y
+CONFIG_USB=y
+CONFIG_DM_USB=y
+CONFIG_USB_OHCI_HCD=y
+CONFIG_USB_OHCI_DA8XX=y
+CONFIG_USB_MUSB_HOST=y
+CONFIG_USB_MUSB_DA8XX=y
+CONFIG_USB_MUSB_PIO_ONLY=y
+CONFIG_USB_STORAGE=y
 # CONFIG_SPL_OF_LIBFDT is not set
index db4a663..d4f404a 100644 (file)
 #define CONFIG_MX_CYCLIC
 
 /*
+ * USB Configs
+ */
+#define CONFIG_USB_OHCI_NEW
+#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS     15
+
+/*
  * Linux Information
  */
 #define LINUX_BOOT_PARAM_ADDR  (PHYS_SDRAM_1 + 0x100)