diff mbox

[U-Boot,RFC,1/4] configs: am43xx: enabled USB support for U-boot

Message ID 1451916233-3226-2-git-send-email-mugunthanvnm@ti.com
State RFC
Headers show

Commit Message

Mugunthan V N Jan. 4, 2016, 2:03 p.m. UTC
Currently USB is enabled only when boot from USB host mode.
Enable USB for U-boot so that Kernel/U-boot binaries can be
loaded from USB for update or booting.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
---
 include/configs/am43xx_evm.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Tom Rini Jan. 4, 2016, 7:59 p.m. UTC | #1
On Mon, Jan 04, 2016 at 07:33:50PM +0530, Mugunthan V N wrote:

> Currently USB is enabled only when boot from USB host mode.
> Enable USB for U-boot so that Kernel/U-boot binaries can be
> loaded from USB for update or booting.
> 
> Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>

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

Patch

diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index aac550a..31b3432 100644
--- a/include/configs/am43xx_evm.h
+++ b/include/configs/am43xx_evm.h
@@ -103,7 +103,8 @@ 
 #define CONFIG_SPL_LDSCRIPT		"$(CPUDIR)/omap-common/u-boot-spl.lds"
 
 /* SPL USB Support */
-#ifdef CONFIG_SPL_USB_HOST_SUPPORT
+#if !defined(CONFIG_SPL_BUILD) || \
+	defined(CONFIG_SPL_USB_HOST_SUPPORT)
 #define CONFIG_SPL_USB_SUPPORT
 #define CONFIG_SYS_USB_FAT_BOOT_PARTITION		1