From: Marek Vasut Date: Fri, 24 Oct 2014 21:34:25 +0000 (+0200) Subject: arm: socfpga: config: Add USB support example X-Git-Tag: v2015.01-rc1~126^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=20cadbbe2e0425783855f6ae90ef82aa0db63155;p=u-boot arm: socfpga: config: Add USB support example Add example configuration stub for the DWC2 USB controller. Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Cc: Vince Bridgers Cc: Pavel Machek --- diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h index ef3572b73b..83a1bcdfbe 100644 --- a/include/configs/socfpga_common.h +++ b/include/configs/socfpga_common.h @@ -156,6 +156,21 @@ #define CONFIG_CONS_INDEX 1 #define CONFIG_BAUDRATE 115200 +/* + * USB + */ +#ifdef CONFIG_CMD_USB +#define CONFIG_USB_DWC2 +#define CONFIG_USB_STORAGE +/* + * NOTE: User must define either of the following to select which + * of the two USB controllers available on SoCFPGA to use. + * The DWC2 driver doesn't support multiple USB controllers. + * #define CONFIG_USB_DWC2_REG_ADDR SOCFPGA_USB0_ADDRESS + * #define CONFIG_USB_DWC2_REG_ADDR SOCFPGA_USB1_ADDRESS + */ +#endif + /* * U-Boot environment */