Commit 94f0d13c9bd7eca3f7f9369cf1f2f8f32f04097f

Authored by Jean-Jacques Hiblot
Committed by Tom Rini
1 parent db34e0ede0

configs: am335x_evm: enable DM_USB_GADGET and USB_ETHER in u-boot and SPL

The AM335x ROM boot is able to download the SPL from a RNDIS connection
on USB0. To enable a full RNDIS boot flow (romboot -> SPL -> u-boot -> ..),
we can use USB_ETHER in SPL and u-boot.
However this increase the size of the SPL past its limit. So removing the
unused SPL_EXT_SUPPORT.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>

Showing 1 changed file with 7 additions and 1 deletions Side-by-side Diff

configs/am335x_evm_defconfig
... ... @@ -10,9 +10,14 @@
10 10 CONFIG_SYS_CONSOLE_INFO_QUIET=y
11 11 CONFIG_VERSION_VARIABLE=y
12 12 CONFIG_ARCH_MISC_INIT=y
  13 +# CONFIG_SPL_EXT_SUPPORT is not set
13 14 CONFIG_SPL_MTD_SUPPORT=y
14 15 CONFIG_SPL_MUSB_NEW_SUPPORT=y
  16 +CONFIG_SPL_NET_SUPPORT=y
  17 +CONFIG_SPL_NET_VCI_STRING="AM33xx U-Boot SPL"
15 18 CONFIG_SPL_OS_BOOT=y
  19 +CONFIG_SPL_USB_GADGET=y
  20 +CONFIG_SPL_USB_ETHER=y
16 21 CONFIG_CMD_SPL=y
17 22 CONFIG_CMD_SPL_NAND_OFS=0x00080000
18 23 # CONFIG_CMD_FLASH is not set
... ... @@ -51,7 +56,8 @@
51 56 CONFIG_OMAP_TIMER=y
52 57 CONFIG_USB=y
53 58 CONFIG_DM_USB=y
54   -# CONFIG_SPL_DM_USB is not set
  59 +CONFIG_DM_USB_GADGET=y
  60 +CONFIG_SPL_DM_USB_GADGET=y
55 61 CONFIG_USB_MUSB_HOST=y
56 62 CONFIG_USB_MUSB_GADGET=y
57 63 CONFIG_USB_MUSB_TI=y