summaryrefslogtreecommitdiff
path: root/include/cmd_elf.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-06-27 21:31:46 +0000
committerwdenk <wdenk>2003-06-27 21:31:46 +0000
commit8bde7f776c77b343aca29b8c7b58464d915ac245 (patch)
tree20f1fd99975215e7c658454a15cdb4ed4694e2d4 /include/cmd_elf.h
parent993cad9364c6b87ae429d1ed1130d8153f6f027e (diff)
downloadu-boot-imx-8bde7f776c77b343aca29b8c7b58464d915ac245.zip
u-boot-imx-8bde7f776c77b343aca29b8c7b58464d915ac245.tar.gz
u-boot-imx-8bde7f776c77b343aca29b8c7b58464d915ac245.tar.bz2
* Code cleanup:
- remove trailing white space, trailing empty lines, C++ comments, etc. - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c) * Patches by Kenneth Johansson, 25 Jun 2003: - major rework of command structure (work done mostly by Michal Cendrowski and Joakim Kristiansen)
Diffstat (limited to 'include/cmd_elf.h')
-rw-r--r--include/cmd_elf.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/include/cmd_elf.h b/include/cmd_elf.h
deleted file mode 100644
index 64c52bc..0000000
--- a/include/cmd_elf.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Elf Load/Boot Functions
- */
-#ifndef _CMD_ELF_H
-#define _CMD_ELF_H
-
-#if (CONFIG_COMMANDS & CFG_CMD_ELF)
-
-#define CMD_TBL_BOOTELF MK_CMD_TBL_ENTRY( \
- "bootelf", 7, 2, 0, do_bootelf, \
- "bootelf - Boot from an ELF image in memory\n", \
- " [address] - load address of ELF image.\n" \
- ),
-
-#define CMD_TBL_BOOTVX MK_CMD_TBL_ENTRY( \
- "bootvx", 6, 2, 0, do_bootvx, \
- "bootvx - Boot vxWorks from an ELF image\n", \
- " [address] - load address of vxWorks ELF image.\n" \
- ),
-
-extern int do_bootelf (cmd_tbl_t *, int, int, char *[]);
-extern int do_bootvx (cmd_tbl_t *, int, int, char *[]);
-
-/* Supporting routines */
-extern int valid_elf_image (unsigned long);
-extern unsigned long load_elf_image (unsigned long);
-
-#else /* ! CFG_CMD_ELF */
-
-#define CMD_TBL_BOOTELF
-#define CMD_TBL_BOOTVX
-
-#endif /* CFG_CMD_ELF */
-#endif /* _CMD_ELF_H */