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>2012-04-19 02:18:29 -0600
commitb53f4325684da78fb941df138f72db1a830f89d8 (patch)
tree0f378b546a1cd67dbd7c8b2b70085c893e20ed90
parent0376a4ac6556a7b5d3f8ec6267c8ccf94fd90b7e (diff)
downloadu-boot-linaro-next-b53f4325684da78fb941df138f72db1a830f89d8.tar.gz
OMAP3: Beagle: Enable PXE support
Signed-off-by: John Rigby <john.rigby@linaro.org>
-rw-r--r--include/configs/omap3_beagle.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
index ed41f70fd..9590c26d2 100644
--- a/include/configs/omap3_beagle.h
+++ b/include/configs/omap3_beagle.h
@@ -142,6 +142,18 @@
#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"
/* commands to include */
#include <config_cmd_default.h>
@@ -309,6 +321,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