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-12-18 21:28:48 -0700
commitf4910a176275c6fc9b919540f8077fcd9706d960 (patch)
treec619e55ce54e743771a71b575e316a59790d610b
parentb2a2edc413e92a7775838c6397cb5abf2d3819cd (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 a989721af..755ef26be 100644
--- a/include/configs/omap4_common.h
+++ b/include/configs/omap4_common.h
@@ -177,6 +177,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 e9ef2a378..4a1146f69 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
/* GPIO */
#define CONFIG_CMD_GPIO