[U-Boot] [PATCH 2/3] rockchip: add usb mass storage feature support for rk3036

Jacob Chen jacob2.chen at rock-chips.com
Mon Aug 29 19:26:14 CEST 2016


From: "jacob2.chen" <jacob2.chen at rock-chips.com>

Enable ums feature for rk3036 boards, so that we can mount the mmc
device to PC.

Signed-off-by: jacob2.chen <jacob2.chen at rock-chips.com>
---

 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 21d4683..dea4acb 100644
--- a/include/configs/rk3036_common.h
+++ b/include/configs/rk3036_common.h
@@ -74,6 +74,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.7.4





More information about the U-Boot mailing list