diff mbox series

[U-Boot,v2,14/14] configs: am335x_boneblack_vboot: enable DM_USB and RNDIS boot in SPl

Message ID 1543919461-10341-15-git-send-email-jjhiblot@ti.com
State Accepted
Commit 5d060ec0dc02258608c8796a18d3f7bc45ff4494
Delegated to: Lukasz Majewski
Headers show
Series Add support for DM_USB and DM_USB_DEV to TI's am335x and am43xx_evm platforms | expand

Commit Message

Jean-Jacques Hiblot Dec. 4, 2018, 10:31 a.m. UTC
Enable DM_USB and DM_USB_GADGET for this platform. Also enable RNDIS boot
support (SPL load u-boot over USB RNDIS).
This is an example of how to use DM_USB on a am335x-based board.
A subsequent series will take this a step further and modify more
defconfigs.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>

---

Changes in v2: None

 configs/am335x_boneblack_vboot_defconfig | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Tom Rini Dec. 5, 2018, 3:12 a.m. UTC | #1
On Tue, Dec 04, 2018 at 11:31:00AM +0100, Jean-Jacques Hiblot wrote:

> Enable DM_USB and DM_USB_GADGET for this platform. Also enable RNDIS boot
> support (SPL load u-boot over USB RNDIS).
> This is an example of how to use DM_USB on a am335x-based board.
> A subsequent series will take this a step further and modify more
> defconfigs.
> 
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
> 

Reviewed-by: Tom Rini <trini@konsulko.com>
diff mbox series

Patch

diff --git a/configs/am335x_boneblack_vboot_defconfig b/configs/am335x_boneblack_vboot_defconfig
index d625599..be04424 100644
--- a/configs/am335x_boneblack_vboot_defconfig
+++ b/configs/am335x_boneblack_vboot_defconfig
@@ -13,7 +13,11 @@  CONFIG_VERSION_VARIABLE=y
 CONFIG_ARCH_MISC_INIT=y
 CONFIG_SPL_MUSB_NEW_SUPPORT=y
 # CONFIG_SPL_NAND_SUPPORT is not set
+CONFIG_SPL_NET_SUPPORT=y
+CONFIG_SPL_NET_VCI_STRING="AM33xx U-Boot SPL"
 CONFIG_SPL_OS_BOOT=y
+CONFIG_SPL_USB_GADGET_SUPPORT=y
+CONFIG_SPL_USB_ETHER=y
 CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
 CONFIG_AUTOBOOT_DELAY_STR="d"
@@ -31,6 +35,7 @@  CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
 CONFIG_USB_FUNCTION_FASTBOOT=y
 CONFIG_DM_I2C=y
+CONFIG_MISC=y
 CONFIG_DM_MMC=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH=y
@@ -44,8 +49,13 @@  CONFIG_OMAP3_SPI=y
 CONFIG_TIMER=y
 CONFIG_OMAP_TIMER=y
 CONFIG_USB=y
+CONFIG_DM_USB=y
+CONFIG_SPL_DM_USB=y
+CONFIG_DM_USB_GADGET=y
+CONFIG_SPL_DM_USB_GADGET=y
 CONFIG_USB_MUSB_HOST=y
 CONFIG_USB_MUSB_GADGET=y
+CONFIG_USB_MUSB_TI=y
 CONFIG_USB_MUSB_DSPS=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_GADGET=y