aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Rigby <john.rigby@linaro.org>2011-10-23 23:42:23 -0600
committerJohn Rigby <john.rigby@linaro.org>2011-10-23 23:55:05 -0600
commitc3b2e4e4b1b4d3c9f1f455d48e35f5fff217ce77 (patch)
treea8594bc3b197da3439edaddaa32bf9251f414980
parentb782eebaa0fe61488dd7861832960a5ffb511474 (diff)
OMAP3: Beagle: Enable PXE support
Signed-off-by: John Rigby <john.rigby@linaro.org>
-rw-r--r--include/configs/omap3_beagle.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
index d5e11f184..93aa25502 100644
--- a/include/configs/omap3_beagle.h
+++ b/include/configs/omap3_beagle.h
@@ -138,6 +138,19 @@
#define CONFIG_USB_ETHER_SMSC95XX
#define CONFIG_USB_ETHER_ASIX
+/* BOOTP options */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+/* PXE */
+#define CONFIG_CMD_PXE
+#define CONFIG_MENU
+#define CONFIG_BOOTP_PXE
+#define CONFIG_BOOTP_PXE_CLIENTARCH 0x100
+#define CONFIG_BOOTP_VCI_STRING "U-boot.armv7.omap3_beagle"
+
#define CONFIG_NET_MULTI
/* commands to include */
@@ -307,6 +320,12 @@
"run mmcboot;" \
"fi;" \
"fi;" \
+ "if usb start; then " \
+ "setenv autoload no; "\
+ "bootp; "\
+ "pxe get;" \
+ "pxe boot;" \
+ "fi;" \
"run nandboot;" \
#define CONFIG_AUTO_COMPLETE 1