aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Rigby <john.rigby@linaro.org>2011-10-24 00:11:41 -0600
committerJohn Rigby <john.rigby@linaro.org>2012-12-04 13:07:18 -0700
commitd172915f98b5c5bfa6dead3c595a2bfc74e46725 (patch)
treec6a980443e557bec4f12eea2560cea3e294edc35 /include
parent772a1d7e8053ecbfbac2abdeffc9e3666284c87c (diff)
OMAP3: igep0020: Enable PXE support
Signed-off-by: John Rigby <john.rigby@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/configs/igep00x0.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/configs/igep00x0.h b/include/configs/igep00x0.h
index c81ab7622..11fc0d138 100644
--- a/include/configs/igep00x0.h
+++ b/include/configs/igep00x0.h
@@ -178,6 +178,9 @@
"run nandargs; " \
"onenand read ${loadaddr} 280000 400000; " \
"bootm ${loadaddr}\0" \
+ "kernel_addr_r=0x88000000\0" \
+ "ramdisk_addr_r=0x81600000\0" \
+ "pxefile_addr_r=0x86000000\0"
#define CONFIG_BOOTCOMMAND \
"mmc dev ${mmcdev}; if mmc rescan; then " \
@@ -192,6 +195,11 @@
"if run loaduimage; then " \
"run mmcboot;" \
"fi;" \
+ "fi; " \
+ "setenv autoload no; "\
+ "bootp; " \
+ "if pxe get; then " \
+ "pxe boot;" \
"fi;" \
"run nandboot;" \
@@ -279,6 +287,20 @@
#define CONFIG_SMC911X
#define CONFIG_SMC911X_32_BIT
#define CONFIG_SMC911X_BASE 0x2C000000
+
+/* 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_igep0020"
+
#endif /* (CONFIG_CMD_NET) */
/*