diff mbox

[U-Boot,1/2] arm: socfpga: Enable USB driver model support

Message ID 1439410770-5749-1-git-send-email-marex@denx.de
State Accepted
Delegated to: Marek Vasut
Headers show

Commit Message

Marek Vasut Aug. 12, 2015, 8:19 p.m. UTC
This patch enables the USB DM support, which in turn lets us probe
the DWC2 USB from device tree. Thus, we again trim down on the amount
of hard-coded stuff.

Signed-off-by: Marek Vasut <marex@denx.de>
---
 include/configs/socfpga_common.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
index 5ca45a9..67f86f9 100644
--- a/include/configs/socfpga_common.h
+++ b/include/configs/socfpga_common.h
@@ -238,6 +238,7 @@  unsigned int cm_get_qspi_controller_clk_hz(void);
  * USB
  */
 #ifdef CONFIG_CMD_USB
+#define CONFIG_DM_USB
 #define CONFIG_USB_DWC2
 #define CONFIG_USB_STORAGE
 /*