From f9a3c278b98a17eddbf0ad903689cce47e3e6f47 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 30 Aug 2015 16:55:25 -0600 Subject: 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 --- common/image.c | 1 + 1 file changed, 1 insertion(+) (limited to 'common/image.c') 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, "", "", }, }; -- cgit v1.2.3