From e73e5fcd8498b5db7bb604ef2223d636a54505ff Mon Sep 17 00:00:00 2001
From: "jacob2.chen" <jacob2.chen@rock-chips.com>
Date: Tue, 30 Aug 2016 01:26:14 +0800
Subject: [PATCH] rockchip: add usb mass storage feature support for rk3036

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 | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/configs/rk3036_common.h b/include/configs/rk3036_common.h
index 4b26662744..1b411c0632 100644
--- a/include/configs/rk3036_common.h
+++ b/include/configs/rk3036_common.h
@@ -70,6 +70,10 @@
 #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
-- 
2.39.5