diff options
author | Marek Vasut <marex@denx.de> | 2014-10-24 23:34:25 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2014-10-27 02:26:24 +0100 |
commit | 20cadbbe2e0425783855f6ae90ef82aa0db63155 (patch) | |
tree | 3a26834977d958c8adcd33f8018a2c58cb49c28a /include/configs | |
parent | 686ed2c2281a3168dcc62d097f044ec1bcc6404b (diff) | |
download | u-boot-imx-20cadbbe2e0425783855f6ae90ef82aa0db63155.zip u-boot-imx-20cadbbe2e0425783855f6ae90ef82aa0db63155.tar.gz u-boot-imx-20cadbbe2e0425783855f6ae90ef82aa0db63155.tar.bz2 |
arm: socfpga: config: Add USB support example
Add example configuration stub for the DWC2 USB controller.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Vince Bridgers <vbridger@altera.com>
Cc: Pavel Machek <pavel@denx.de>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/socfpga_common.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h index ef3572b..83a1bcd 100644 --- a/include/configs/socfpga_common.h +++ b/include/configs/socfpga_common.h @@ -157,6 +157,21 @@ #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 */ #define CONFIG_SYS_CONSOLE_IS_IN_ENV |