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-08-16 09:36:49 -0600
commit252c1f6ed823aeb84d80ca519de610d6b4593f6b (patch)
tree32492109b41ca89353582f122390cec04aadac79
parent433d26629e35315bf01f484a6f2b9f59edaa0eb5 (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 478858126..a60f61b84 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