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-12-04 13:07:17 -0700
commit772a1d7e8053ecbfbac2abdeffc9e3666284c87c (patch)
treed74869a5c261acc819fc59133673819736211cca
parentd050006fd7f2adc1de7c5a37e07931d2d8d8653c (diff)
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 e349d67d5..571053466 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>
@@ -311,6 +323,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