[PATCH 11/16] configs: Enable USB Gadget on rock-pi-n8

Jagan Teki jagan at amarulasolutions.com
Mon Jul 20 20:51:15 CEST 2020


From: Suniel Mahesh <sunil at amarulasolutions.com>

Enable fastboot and USB gadget related config options for
rock-pi-n8 target which hosts RK3288-VMARC-SOM .

Note: Connect the Host USB cable (Type A) to rock-pi-n8
USB 3.0 port on carrier board for fastboot.

Signed-off-by: Suniel Mahesh <sunil at amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
---
 configs/rock-pi-n8-rk3288_defconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configs/rock-pi-n8-rk3288_defconfig b/configs/rock-pi-n8-rk3288_defconfig
index 4cbb07d870..aafa2cac2a 100644
--- a/configs/rock-pi-n8-rk3288_defconfig
+++ b/configs/rock-pi-n8-rk3288_defconfig
@@ -11,6 +11,7 @@ CONFIG_NR_DRAM_BANKS=1
 CONFIG_DEBUG_UART_BASE=0xff690000
 CONFIG_DEBUG_UART_CLOCK=24000000
 CONFIG_DEBUG_UART=y
+# CONFIG_ANDROID_BOOT_IMAGE is not set
 CONFIG_USE_PREBOOT=y
 CONFIG_SILENT_CONSOLE=y
 CONFIG_DEFAULT_FDT_FILE="rk3288-rock-pi-n8.dtb"
@@ -71,4 +72,6 @@ CONFIG_USB_DWC2=y
 CONFIG_ROCKCHIP_USB2_PHY=y
 CONFIG_USB_KEYBOARD=y
 # CONFIG_USB_KEYBOARD_FN_KEYS is not set
+CONFIG_USB_GADGET=y
+CONFIG_USB_GADGET_DWC2_OTG=y
 CONFIG_ERRNO_STR=y
-- 
2.25.1



More information about the U-Boot mailing list