diff options
author | Simon Glass <sjg@chromium.org> | 2015-08-30 22:55:24 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-09-03 03:28:23 (GMT) |
commit | a131c1f44231e3546b1cca8480400c98d1dd7ac8 (patch) | |
tree | 47a83ea33e52c0cb131f025e4ccd045e022ab049 /include | |
parent | 1b99e5bbb619f91c675306226a262a14c9d9a3a3 (diff) | |
download | u-boot-a131c1f44231e3546b1cca8480400c98d1dd7ac8.tar.xz |
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')
-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 |