]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mx6sabre: Do not enable UMS with SPL
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 9 Mar 2015 21:44:39 +0000 (18:44 -0300)
committerStefano Babic <sbabic@denx.de>
Fri, 13 Mar 2015 12:46:51 +0000 (13:46 +0100)
Since commit ad8aae82b20ac6a ("mx6sabre: Enable User Mass Storage") SPL target
does not boot anymore due to the increased spl image size.

Only enable USB Mass Storage for the non-SPL target.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
include/configs/mx6sabre_common.h

index cbd9a6cd15a5901163a9ac391b29d5766a107bca..b72522bf522d38b11151b4dff47aa57c4a24c796 100644 (file)
 #define CONFIG_IMX_HDMI
 #define CONFIG_IMX_VIDEO_SKIP
 
+#ifndef CONFIG_SPL
 #define CONFIG_CI_UDC
 #define CONFIG_USBD_HS
 #define CONFIG_USB_GADGET_DUALSPEED
 #define CONFIG_G_DNL_VENDOR_NUM                0x0525
 #define CONFIG_G_DNL_PRODUCT_NUM       0xa4a5
 #define CONFIG_G_DNL_MANUFACTURER      "FSL"
+#endif
 
 #endif                         /* __MX6QSABRE_COMMON_CONFIG_H */