summaryrefslogtreecommitdiff
path: root/common/image.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-08-30 16:55:24 -0600
committerSimon Glass <sjg@chromium.org>2015-09-02 21:28:23 -0600
commita131c1f44231e3546b1cca8480400c98d1dd7ac8 (patch)
tree47a83ea33e52c0cb131f025e4ccd045e022ab049 /common/image.c
parent1b99e5bbb619f91c675306226a262a14c9d9a3a3 (diff)
downloadu-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 'common/image.c')
-rw-r--r--common/image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/image.c b/common/image.c
index 678588d..cf2806f 100644
--- a/common/image.c
+++ b/common/image.c
@@ -155,6 +155,7 @@ static const table_entry_t uimage_type[] = {
{ IH_TYPE_ATMELIMAGE, "atmelimage", "ATMEL ROM-Boot Image",},
{ IH_TYPE_X86_SETUP, "x86_setup", "x86 setup.bin", },
{ IH_TYPE_LPC32XXIMAGE, "lpc32xximage", "LPC32XX Boot Image", },
+ { IH_TYPE_RKIMAGE, "rkimage", "Rockchip Boot Image" },
{ -1, "", "", },
};