]> git.sur5r.net Git - u-boot/commitdiff
rockchip: add usb mass storage feature support for rk3288
authorXu Ziyuan <xzy.xu@rock-chips.com>
Wed, 3 Aug 2016 03:55:06 +0000 (11:55 +0800)
committerSimon Glass <sjg@chromium.org>
Fri, 5 Aug 2016 23:56:08 +0000 (17:56 -0600)
Enable ums feature for rk3288 boards, so that we can mount the mmc
device to PC.

Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
include/configs/rk3288_common.h

index fa37335b8bea81ef4d027be5a1b85dbfd0f392ea..d3d4c680e99c207c092dcb57a4f145aeb4a5e035 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