rockchip: add usb mass storage feature support for rk3036
authorjacob2.chen <jacob2.chen@rock-chips.com>
Mon, 29 Aug 2016 17:26:14 +0000 (01:26 +0800)
committerSimon Glass <sjg@chromium.org>
Sun, 2 Oct 2016 00:35:01 +0000 (18:35 -0600)
Enable ums feature for rk3036 boards, so that we can mount the mmc
device to PC.

Signed-off-by: jacob2.chen <jacob2.chen@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
include/configs/rk3036_common.h

index 4b2666274418e2d2be5fb5180f51baa8ada9b6af..1b411c06320883e8d542547dd568a3b53d36a7ae 100644 (file)
 #define CONFIG_FASTBOOT_BUF_ADDR       CONFIG_SYS_LOAD_ADDR
 #define CONFIG_FASTBOOT_BUF_SIZE       0x08000000
 
+/* usb mass storage */
+#define CONFIG_USB_FUNCTION_MASS_STORAGE
+#define CONFIG_CMD_USB_MASS_STORAGE
+
 #define CONFIG_USB_GADGET_DOWNLOAD
 #define CONFIG_G_DNL_MANUFACTURER      "Rockchip"
 #define CONFIG_G_DNL_VENDOR_NUM                0x2207