All of lore.kernel.org
 help / color / mirror / Atom feed
From: Faiz Abbas <faiz_abbas@ti.com>
To: u-boot@lists.denx.de
Subject: [PATCH 11/13] configs: am65x_evm_a53: Enable USB Mass storage and DFU boot modes
Date: Thu, 2 Jul 2020 13:32:31 +0530	[thread overview]
Message-ID: <20200702080233.27582-12-faiz_abbas@ti.com> (raw)
In-Reply-To: <20200702080233.27582-1-faiz_abbas@ti.com>

Enable configs to facilitate booting from USB Mass Storage devices
as well as USB peripheral boot

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
---
 configs/am65x_evm_a53_defconfig | 9 +++++++++
 include/configs/am65x_evm.h     | 2 ++
 2 files changed, 11 insertions(+)

diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig
index d74a2d0930..6a10e0b97d 100644
--- a/configs/am65x_evm_a53_defconfig
+++ b/configs/am65x_evm_a53_defconfig
@@ -33,14 +33,20 @@ CONFIG_SPL_SEPARATE_BSS=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1400
 CONFIG_SPL_DMA=y
+CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_DM_MAILBOX=y
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_DM_RESET=y
 CONFIG_SPL_POWER_DOMAIN=y
+CONFIG_SPL_RAM_SUPPORT=y
 # CONFIG_SPL_SPI_FLASH_TINY is not set
 CONFIG_SPL_SPI_FLASH_SFDP_SUPPORT=y
 CONFIG_SPL_SPI_LOAD=y
+CONFIG_SPL_USB_HOST_SUPPORT=y
+CONFIG_SPL_USB_STORAGE=y
+CONFIG_SPL_USB_GADGET=y
+CONFIG_SPL_DFU=y
 CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_DFU=y
@@ -69,6 +75,7 @@ CONFIG_DM=y
 CONFIG_SPL_DM=y
 CONFIG_SPL_DM_SEQ_ALIAS=y
 CONFIG_SPL_REGMAP=y
+CONFIG_SPL_SYSCON=y
 CONFIG_SPL_OF_TRANSLATE=y
 CONFIG_CLK=y
 CONFIG_SPL_CLK=y
@@ -109,6 +116,7 @@ CONFIG_PCI=y
 CONFIG_DM_PCI=y
 CONFIG_PCI_KEYSTONE=y
 CONFIG_PHY=y
+CONFIG_SPL_PHY=y
 CONFIG_AM654_PHY=y
 CONFIG_OMAP_USB2_PHY=y
 CONFIG_PINCTRL=y
@@ -132,6 +140,7 @@ CONFIG_SYSRESET_TI_SCI=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_DM_USB_GADGET=y
+CONFIG_SPL_DM_USB_GADGET=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
diff --git a/include/configs/am65x_evm.h b/include/configs/am65x_evm.h
index 5435ef85c7..9ae8c23c62 100644
--- a/include/configs/am65x_evm.h
+++ b/include/configs/am65x_evm.h
@@ -152,6 +152,8 @@
 #define CONFIG_SYS_MMC_ENV_PART	1
 #endif
 
+#define CONFIG_SYS_USB_FAT_BOOT_PARTITION 1
+
 /* Now for the remaining common defines */
 #include <configs/ti_armv7_common.h>
 
-- 
2.17.1

  parent reply	other threads:[~2020-07-02  8:02 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-02  8:02 [PATCH 00/13] Add support for USB host and peripheral bootmodes on am65x-idk Faiz Abbas
2020-07-02  8:02 ` [PATCH 01/13] spl: usb: Create an API spl_usb_load() Faiz Abbas
2020-07-02  8:02 ` [PATCH 02/13] spl: usb: Only init usb once Faiz Abbas
2020-07-02  8:02 ` [PATCH 03/13] armv7R: K3: am654: Use full malloc in SPL both pre and post reloc Faiz Abbas
2020-07-02  8:02 ` [PATCH 04/13] arm: mach-k3: sysfw-loader: Add support to load SYSFW from USB Faiz Abbas
2020-07-02  8:02 ` [PATCH 05/13] arm: mach-k3: am6_init: Gate mmc related configurations with the appropriate config Faiz Abbas
2020-07-02  8:02 ` [PATCH 06/13] arm: mach-k3: am6_init: Do USB fixups to facilitate host and device boot modes Faiz Abbas
2020-07-03  7:34   ` Vignesh Raghavendra
2020-08-03  6:06     ` Faiz Abbas
2020-07-08  8:01   ` Lokesh Vutla
2020-07-02  8:02 ` [PATCH 07/13] arm: mach-k3: am6_init: Add support for USB boot mode Faiz Abbas
2020-07-02  8:02 ` [PATCH 08/13] arm: dts: k3-am654-r5-base-board: Add USB0 nodes Faiz Abbas
2020-07-02  8:02 ` [PATCH 09/13] arm: dts: k3-am654-base-board: Add support for USB0 in SPL Faiz Abbas
2020-07-02  8:02 ` [PATCH 10/13] configs: am65x_evm: Add support for DFU related configs Faiz Abbas
2020-07-02  8:02 ` Faiz Abbas [this message]
2020-07-02  8:02 ` [PATCH 12/13] configs: Add new config for supporting USB mass storage boot Faiz Abbas
2020-07-02  8:02 ` [PATCH 13/13] configs: Add defconfig for USB DFU bootmode Faiz Abbas

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=20200702080233.27582-12-faiz_abbas@ti.com \
    --to=faiz_abbas@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.