aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Salveti de Araujo <ricardo.salveti@canonical.com>2011-05-19 10:17:15 -0300
committerJohn Rigby <john.rigby@linaro.org>2011-09-23 07:10:41 -0600
commit56bfeb78692fcea766f1296d977a6bec22fcfc82 (patch)
treed818b260e3f36eb7da354f40df31d5a174dff3d5
parent6ace48edbd39efe2b4a211cb119996c20f4b7918 (diff)
downloadu-boot-linaro-stable-56bfeb78692fcea766f1296d977a6bec22fcfc82.tar.gz
omap4_panda: adding support for smsc and tftp boot
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
-rw-r--r--include/configs/omap4_common.h4
-rw-r--r--include/configs/omap4_panda.h15
2 files changed, 19 insertions, 0 deletions
diff --git a/include/configs/omap4_common.h b/include/configs/omap4_common.h
index d8ac8c0b3..535e7d7ca 100644
--- a/include/configs/omap4_common.h
+++ b/include/configs/omap4_common.h
@@ -172,6 +172,10 @@
"run mmcboot; " \
"fi; " \
"fi; " \
+ "fi; " \
+ "if usb start; then " \
+ "bootp; "\
+ "source ${loadaddr};" \
"fi"
#define CONFIG_AUTO_COMPLETE 1
diff --git a/include/configs/omap4_panda.h b/include/configs/omap4_panda.h
index 67da70ea0..dc8b1f315 100644
--- a/include/configs/omap4_panda.h
+++ b/include/configs/omap4_panda.h
@@ -33,7 +33,22 @@
*/
#define CONFIG_PANDA 1 /* working with Panda */
+/* USB Host networking options */
+#define CONFIG_CMD_USB 1
+#define CONFIG_USB_STORAGE 1
+#define CONFIG_USB_HOST_ETHER 1
+#define CONFIG_USB_EHCI 1
+#define CONFIG_USB_EHCI_OMAP4 1
+#define CONFIG_USB_HOST 1
+#define CONFIG_USB_ETHER_SMSC95XX 1
+
+/* Ethernet */
+#define CONFIG_NET_MULTI 1
+#define CONFIG_CMD_PING 1
+#define CONFIG_CMD_DHCP 1
+
#include <configs/omap4_common.h>
+#define CONFIG_CMD_NET
/* ENV related config options */
#define CONFIG_ENV_IS_NOWHERE