path: root/include/common.h
diff options
authorJason Hobbs <jason.hobbs@calxeda.com>2011-06-29 11:25:18 -0500
committerJohn Rigby <john.rigby@linaro.org>2011-06-30 12:23:35 +0100
commitee275fc4d3e6f22d390c931c9a957c08f21b98ac (patch)
tree5aa12daf225b8356e2b39502fc6b743d305a0f11 /include/common.h
parent6e9b76f9d0dcdca63d8a2c4d91015ef09b0ce166 (diff)
Add pxecfg command
Add pxecfg command, which is intended to mimic PXELINUX functionality. 'pxecfg get' uses tftp to retrieve a file based on UUID, MAC address or IP address. 'pxecfg boot' interprets the contents of PXELINUX config like file to boot using a specific initrd, kernel and kernel command line. This patch also adds a README.pxecfg file - see it for more details on the pxecfg command. Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com>
Diffstat (limited to 'include/common.h')
1 files changed, 3 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index bd2c1a080..9b6046986 100644
--- a/include/common.h
+++ b/include/common.h
@@ -259,6 +259,9 @@ extern ulong load_addr; /* Default Load Address */
/* common/cmd_doc.c */
void doc_probe(unsigned long physadr);
+/* common/cmd_net.c */
+int do_tftpb(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
/* common/cmd_nvedit.c */
int env_init (void);
void env_relocate (void);