[PATCH 6/8] configs: am62: Add configs for enabling USB in U-Boot
Sjoerd Simons
sjoerd at collabora.com
Sat Jan 21 16:54:32 CET 2023
From: Aswath Govindraju <a-govindraju at ti.com>
Add configs for enabling USB host MSC and USB DFU in U-Boot.
Signed-off-by: Aswath Govindraju <a-govindraju at ti.com>
[ rebase from vendor u-boot to upstream ]
Signed-off-by: Sjoerd Simons <sjoerd at 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
More information about the U-Boot
mailing list