diff options
author | Marek Vasut <marex@denx.de> | 2014-12-30 20:04:20 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-03-04 23:07:04 +0100 |
commit | e5e87179587b8b1e3724d180baac8e1ef9b16cf2 (patch) | |
tree | 61ac2f5c17907fac859b7ffcd9809b90685cc825 /include | |
parent | 0d13a0051b22c95822703e64d0046bbf3b36b13b (diff) | |
download | u-boot-imx-e5e87179587b8b1e3724d180baac8e1ef9b16cf2.zip u-boot-imx-e5e87179587b8b1e3724d180baac8e1ef9b16cf2.tar.gz u-boot-imx-e5e87179587b8b1e3724d180baac8e1ef9b16cf2.tar.bz2 |
arm: socfpga: Add USB and UDC support for Cyclone V DK
Add support for USB host mode and USB device mode for the
Cyclone V development kit and enable support for UMS (to
export SD card as USB mass storage). The UMS is activated
via 'ums 0 mmc 0' command, the system must be connected to
a host PC via HPS USB port and SD card must be installed
for this to work.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <clsee@opensource.altera.com>
Acked-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Acked-by: Pavel Machek <pavel@denx.de>
Reviewed-by: Stefan Roese <sr@denx.de>
Cc: Vince Bridgers <vbridger@opensource.altera.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/socfpga_cyclone5.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/socfpga_cyclone5.h b/include/configs/socfpga_cyclone5.h index c3d958c..676144a 100644 --- a/include/configs/socfpga_cyclone5.h +++ b/include/configs/socfpga_cyclone5.h @@ -21,6 +21,7 @@ #define CONFIG_CMD_ASKENV #define CONFIG_CMD_BOOTZ #define CONFIG_CMD_CACHE +#define CONFIG_CMD_DFU #define CONFIG_CMD_DHCP #define CONFIG_CMD_EXT4 #define CONFIG_CMD_EXT4_WRITE @@ -33,6 +34,8 @@ #define CONFIG_CMD_NET #define CONFIG_CMD_PING #define CONFIG_CMD_SETEXPR +#define CONFIG_CMD_USB +#define CONFIG_CMD_USB_MASS_STORAGE #define CONFIG_REGEX /* Enable regular expression support */ @@ -66,6 +69,12 @@ #endif +/* USB */ +#ifdef CONFIG_CMD_USB +#define CONFIG_USB_DWC2_REG_ADDR SOCFPGA_USB1_ADDRESS +#endif +#define CONFIG_G_DNL_MANUFACTURER "Altera" + /* Extra Environment */ #define CONFIG_HOSTNAME socfpga_cyclone5 |