public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 1/2] rock-pi-4: Enable USB Gadget
@ 2020-06-12  6:41 Jagan Teki
  2020-06-12  6:41 ` [PATCH] roc-rk3399-pc: Update ENV offset, size Jagan Teki
  2020-06-12  6:41 ` [PATCH 2/2] rock-pi-4: Enable HDMI output Jagan Teki
  0 siblings, 2 replies; 3+ messages in thread
From: Jagan Teki @ 2020-06-12  6:41 UTC (permalink / raw)
  To: u-boot

Enable USB gadget for rock-pi-4 boards.

This would help to use fastboot by default.

Note: Connect the Host USB cable (Port A or C) to rock-pi-4
Upper USB 3.0 port.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
 configs/rock-pi-4-rk3399_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configs/rock-pi-4-rk3399_defconfig b/configs/rock-pi-4-rk3399_defconfig
index f3eeef0293..a4b322074c 100644
--- a/configs/rock-pi-4-rk3399_defconfig
+++ b/configs/rock-pi-4-rk3399_defconfig
@@ -8,6 +8,7 @@ CONFIG_NR_DRAM_BANKS=1
 CONFIG_DEBUG_UART_BASE=0xFF1A0000
 CONFIG_DEBUG_UART_CLOCK=24000000
 CONFIG_DEBUG_UART=y
+# CONFIG_ANDROID_BOOT_IMAGE is not set
 CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-rock-pi-4.dtb"
 CONFIG_MISC_INIT_R=y
 CONFIG_DISPLAY_BOARDINFO_LATE=y
@@ -57,6 +58,7 @@ CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_GENERIC=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GENERIC=y
+CONFIG_USB_GADGET=y
 CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_ASIX=y
 CONFIG_USB_ETHER_ASIX88179=y
-- 
2.25.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-12  6:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-12  6:41 [PATCH 1/2] rock-pi-4: Enable USB Gadget Jagan Teki
2020-06-12  6:41 ` [PATCH] roc-rk3399-pc: Update ENV offset, size Jagan Teki
2020-06-12  6:41 ` [PATCH 2/2] rock-pi-4: Enable HDMI output Jagan Teki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox