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-10-12 09:58:34 -0600
commit9a258a1c684ee602156cf245953a0bfc7ef8cec6 (patch)
tree228b735325c8314609fda78cb488d0fa76f67ed9
parent1c4f38ec96d74bf3674009539bc6f061bbd32a08 (diff)
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