public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Sjoerd Simons <sjoerd@collabora.com>
To: u-boot@lists.denx.de
Cc: Aswath Govindraju <a-govindraju@ti.com>, Dave Gerlach <d-gerlach@ti.com>
Subject: [PATCH 6/8] configs: am62: Add configs for enabling USB in U-Boot
Date: Sat, 21 Jan 2023 16:54:32 +0100	[thread overview]
Message-ID: <20230121155435.2858173-7-sjoerd@collabora.com> (raw)
In-Reply-To: <20230121155435.2858173-1-sjoerd@collabora.com>

From: Aswath Govindraju <a-govindraju@ti.com>

Add configs for enabling USB host MSC and USB DFU in U-Boot.

Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
[ rebase from vendor u-boot to upstream ]
Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
---

 include/configs/am62x_evm.h | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/include/configs/am62x_evm.h b/include/configs/am62x_evm.h
index 7fbefdece40..580ff390f6e 100644
--- a/include/configs/am62x_evm.h
+++ b/include/configs/am62x_evm.h
@@ -11,6 +11,7 @@
 
 #include <config_distro_bootcmd.h>
 #include <environment/ti/mmc.h>
+#include <environment/ti/k3_dfu.h>
 
 /* DDR Configuration */
 #define CFG_SYS_SDRAM_BASE1		0x880000000
@@ -77,13 +78,20 @@
 		"${bootdir}/${name_fit}\0"				\
 	"partitions=" PARTS_DEFAULT
 
+#define EXTRA_ENV_DFUARGS \
+	DFU_ALT_INFO_MMC \
+	DFU_ALT_INFO_EMMC \
+	DFU_ALT_INFO_RAM \
+	DFU_ALT_INFO_OSPI
+
 /* Incorporate settings into the U-Boot environment */
 #define CFG_EXTRA_ENV_SETTINGS					\
 	DEFAULT_LINUX_BOOT_ENV						\
 	DEFAULT_MMC_TI_ARGS						\
 	EXTRA_ENV_AM625_BOARD_SETTINGS					\
 	EXTRA_ENV_AM625_BOARD_SETTINGS_MMC				\
-	BOOTENV
+	BOOTENV								\
+	EXTRA_ENV_DFUARGS
 
 /* Now for the remaining common defines */
 #include <configs/ti_armv7_common.h>
-- 
2.39.0


  parent reply	other threads:[~2023-01-21 15:56 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-21 15:54 [PATCH 0/8] Add DFU, emmc and usb boot for TI am62x Sjoerd Simons
2023-01-21 15:54 ` [PATCH 1/8] omap: timer: add ti,am654-timer compatibility Sjoerd Simons
2023-01-24 20:47   ` Tom Rini
2023-01-25 12:18   ` Dhruva Gole
2023-01-21 15:54 ` [PATCH 2/8] arm: mach-k3: am62: Add timer0 id to the dev list Sjoerd Simons
2023-01-24 20:47   ` Tom Rini
2023-01-21 15:54 ` [PATCH 3/8] arm: dts: k3-am62: Bump dtsi from ti-next Sjoerd Simons
2023-01-24 20:47   ` Tom Rini
2023-01-25  7:32     ` Sjoerd Simons
2023-01-25 14:05       ` Tom Rini
2023-01-21 15:54 ` [PATCH 4/8] arm: dts: k3-am625-sk: Enable emmc in SPL Sjoerd Simons
2023-01-24 20:47   ` Tom Rini
2023-01-26 18:26   ` Tom Rini
2023-01-21 15:54 ` [PATCH 5/8] usb: dwc3: Add dwc3 glue for am62 Sjoerd Simons
2023-01-27 19:30   ` Tom Rini
2023-01-21 15:54 ` Sjoerd Simons [this message]
2023-01-21 15:54 ` [PATCH 7/8] arm: dts: k3-am625-sk: Enable usb ports in u-boot Sjoerd Simons
2023-01-24 20:47   ` Tom Rini
2023-01-21 15:54 ` [PATCH 8/8] configs: am62x_evm_*: Enable USB and DFU support Sjoerd Simons

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230121155435.2858173-7-sjoerd@collabora.com \
    --to=sjoerd@collabora.com \
    --cc=a-govindraju@ti.com \
    --cc=d-gerlach@ti.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox