summaryrefslogtreecommitdiffstats
path: root/include/image.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-08-30 16:55:25 -0600
committerSimon Glass <sjg@chromium.org>2015-09-02 21:28:23 -0600
commitf9a3c278b98a17eddbf0ad903689cce47e3e6f47 (patch)
treee3de8e90e3852a89fbbb0b6e31a503297541ece0 /include/image.h
parenta131c1f44231e3546b1cca8480400c98d1dd7ac8 (diff)
downloadblackbird-obmc-uboot-f9a3c278b98a17eddbf0ad903689cce47e3e6f47.tar.gz
blackbird-obmc-uboot-f9a3c278b98a17eddbf0ad903689cce47e3e6f47.zip
rockchip: Add support for the SD image
The Rockchip boot ROM requires a particular file format. It consists of 64KB of zeroes, a 512-byte header encoded with RC4, and then some executable code. Add support to mkimage so that an SPL image (u-boot-spl-dtb.bin) can be converted to this format. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/image.h')
-rw-r--r--include/image.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/image.h b/include/image.h
index 2daa74aa38..ea16205ef7 100644
--- a/include/image.h
+++ b/include/image.h
@@ -246,8 +246,9 @@ struct lmb;
#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_RKSD 24 /* Rockchip SD card */
-#define IH_TYPE_COUNT 24 /* Number of image types */
+#define IH_TYPE_COUNT 25 /* Number of image types */
/*
* Compression Types
OpenPOWER on IntegriCloud