summaryrefslogtreecommitdiff
path: root/tools/mkimage.h
diff options
context:
space:
mode:
authorShaohui Xie <Shaohui.Xie@freescale.com>2012-08-10 02:49:35 +0000
committerAndy Fleming <afleming@freescale.com>2012-08-23 10:24:16 -0500
commit5d898a00f3929fbe18427d15524c4da6b7575b95 (patch)
tree0a7179e754cf72ad44922025669005da844e5347 /tools/mkimage.h
parent461632bd71152fefd7f6b155d6b870e586212416 (diff)
downloadu-boot-imx-5d898a00f3929fbe18427d15524c4da6b7575b95.zip
u-boot-imx-5d898a00f3929fbe18427d15524c4da6b7575b95.tar.gz
u-boot-imx-5d898a00f3929fbe18427d15524c4da6b7575b95.tar.bz2
powerpc/CoreNet: add tool to support pbl image build.
Provides a tool to build boot Image for PBL(Pre boot loader) which is used on Freescale CoreNet SoCs, PBL can be used to load some instructions and/or data for pre-initialization. The default output image is u-boot.pbl, for more details please refer to doc/README.pblimage. Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'tools/mkimage.h')
-rw-r--r--tools/mkimage.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/mkimage.h b/tools/mkimage.h
index 5fe1a48..ea45f5c 100644
--- a/tools/mkimage.h
+++ b/tools/mkimage.h
@@ -69,6 +69,7 @@ struct mkimage_params {
unsigned int addr;
unsigned int ep;
char *imagename;
+ char *imagename2;
char *datafile;
char *imagefile;
char *cmdname;
@@ -147,6 +148,8 @@ void mkimage_register (struct image_type_params *tparams);
*
* Supported image types init functions
*/
+void pbl_load_uboot(int fd, struct mkimage_params *mparams);
+void init_pbl_image_type(void);
void init_ais_image_type(void);
void init_kwb_image_type (void);
void init_imx_image_type (void);