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

Marek Vasut marex at denx.de
Wed Aug 12 22:19:29 CEST 2015


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 at 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



More information about the U-Boot mailing list