diff options
author | Simon Glass <sjg@chromium.org> | 2015-08-30 16:55:24 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-09-02 21:28:23 -0600 |
commit | a131c1f44231e3546b1cca8480400c98d1dd7ac8 (patch) | |
tree | 47a83ea33e52c0cb131f025e4ccd045e022ab049 /include/image.h | |
parent | 1b99e5bbb619f91c675306226a262a14c9d9a3a3 (diff) | |
download | u-boot-imx-a131c1f44231e3546b1cca8480400c98d1dd7ac8.zip u-boot-imx-a131c1f44231e3546b1cca8480400c98d1dd7ac8.tar.gz u-boot-imx-a131c1f44231e3546b1cca8480400c98d1dd7ac8.tar.bz2 |
rockchip: Add the rkimage format to mkimage
Rockchip SoCs require certain formats for code that they execute, The
simplest format is a 4-byte header at the start of a binary file. Add
support for this so that we can create images that the boot ROM understands.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/image.h')
-rw-r--r-- | include/image.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/image.h b/include/image.h index 63c3d37..2daa74a 100644 --- a/include/image.h +++ b/include/image.h @@ -245,8 +245,9 @@ struct lmb; #define IH_TYPE_X86_SETUP 20 /* x86 setup.bin Image */ #define IH_TYPE_LPC32XXIMAGE 21 /* x86 setup.bin Image */ #define IH_TYPE_LOADABLE 22 /* A list of typeless images */ +#define IH_TYPE_RKIMAGE 23 /* Rockchip Boot Image */ -#define IH_TYPE_COUNT 23 /* Number of image types */ +#define IH_TYPE_COUNT 24 /* Number of image types */ /* * Compression Types |