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 <ma...@denx.de>
---
 include/configs/socfpga_common.h | 1 +
 1 file changed, 1 insertion(+)

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
 /*
-- 
2.1.4

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to