aboutsummaryrefslogtreecommitdiff
path: root/include/configs/omap3_beagle.h
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-25 07:54:01 -0600
commit431c97d0708e9defbb64cafd7e94faf885ca2237 (patch)
tree5f2858b36176d69f1cdd497e5d08434bb75caaad /include/configs/omap3_beagle.h
parent10b4362066be7aac723c59d13aa8cd9a724861a7 (diff)
OMAP3: Beagle: Enable PXE support
Signed-off-by: John Rigby <john.rigby@linaro.org>
Diffstat (limited to 'include/configs/omap3_beagle.h')
-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