summaryrefslogtreecommitdiffstats
path: root/common
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 /common
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 'common')
-rw-r--r--common/image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/image.c b/common/image.c
index cf2806f983..2cdc728e22 100644
--- a/common/image.c
+++ b/common/image.c
@@ -156,6 +156,7 @@ static const table_entry_t uimage_type[] = {
{ IH_TYPE_X86_SETUP, "x86_setup", "x86 setup.bin", },
{ IH_TYPE_LPC32XXIMAGE, "lpc32xximage", "LPC32XX Boot Image", },
{ IH_TYPE_RKIMAGE, "rkimage", "Rockchip Boot Image" },
+ { IH_TYPE_RKSD, "rksd", "Rockchip SD Boot Image" },
{ -1, "", "", },
};
OpenPOWER on IntegriCloud