summaryrefslogtreecommitdiff
path: root/include/configs/am335x_evm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/am335x_evm.h')
-rw-r--r--include/configs/am335x_evm.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index 7752ca9993..311765d934 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -176,6 +176,7 @@
#undef CONFIG_BOOTDELAY
#define CONFIG_BOOTDELAY 0
+#ifdef CONFIG_SPL_USBETH_SUPPORT
#define CONFIG_BOOTCOMMAND \
"setenv autoload no; " \
"setenv ethact usb_ether; " \
@@ -183,6 +184,15 @@
"if tftp 80000000 debrick.scr; then " \
"source 80000000; " \
"fi"
+#else
+#define CONFIG_BOOTCOMMAND \
+ "setenv autoload no; " \
+ "setenv ethact cpsw; " \
+ "dhcp; " \
+ "if tftp 80000000 debrick.scr; then " \
+ "source 80000000; " \
+ "fi"
+#endif
#endif
/* Clock Defines */