summaryrefslogtreecommitdiff
path: root/include/configs/am64x_evm.h
diff options
context:
space:
mode:
authorAswath Govindraju <a-govindraju@ti.com>2021-06-04 22:00:40 +0530
committerLokesh Vutla <lokeshvutla@ti.com>2021-06-09 22:23:44 +0530
commitce7ad5739054a9b3a766e49e574905590753c329 (patch)
treee063cb0959488ca0b18ef2788b8187bd06dba21e /include/configs/am64x_evm.h
parentdefd62ca137b2c5da6848d27156e03026fb34a80 (diff)
downloadu-boot-ce7ad5739054a9b3a766e49e574905590753c329.tar.gz
configs: am64: Enable configs to support USB host and device modes
Enable config options required to add support for USB Mass storage boot, USB DFU boot, host and device modes in U-Boot. Signed-off-by: Aswath Govindraju <a-govindraju@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Link: https://lore.kernel.org/r/20210604163043.12811-11-a-govindraju@ti.com
Diffstat (limited to 'include/configs/am64x_evm.h')
-rw-r--r--include/configs/am64x_evm.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/configs/am64x_evm.h b/include/configs/am64x_evm.h
index 7c9bdc2d7d..c2c2bf0677 100644
--- a/include/configs/am64x_evm.h
+++ b/include/configs/am64x_evm.h
@@ -13,6 +13,7 @@
#include <config_distro_bootcmd.h>
#include <environment/ti/mmc.h>
#include <asm/arch/am64_hardware.h>
+#include <environment/ti/k3_dfu.h>
/* DDR Configuration */
#define CONFIG_SYS_SDRAM_BASE1 0x880000000
@@ -95,16 +96,25 @@
"${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 CONFIG_EXTRA_ENV_SETTINGS \
DEFAULT_LINUX_BOOT_ENV \
DEFAULT_MMC_TI_ARGS \
EXTRA_ENV_AM642_BOARD_SETTINGS \
- EXTRA_ENV_AM642_BOARD_SETTINGS_MMC
+ EXTRA_ENV_AM642_BOARD_SETTINGS_MMC \
+ EXTRA_ENV_DFUARGS
/* Now for the remaining common defines */
#include <configs/ti_armv7_common.h>
+#define CONFIG_SYS_USB_FAT_BOOT_PARTITION 1
+
/* MMC ENV related defines */
#ifdef CONFIG_ENV_IS_IN_MMC
#define CONFIG_SYS_MMC_ENV_DEV 0