summaryrefslogtreecommitdiff
path: root/tools/Makefile
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 /tools/Makefile
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 'tools/Makefile')
-rw-r--r--tools/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile
index f673258..267f55c 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -64,6 +64,8 @@ RSA_OBJS-$(CONFIG_FIT_SIGNATURE) := $(addprefix lib/rsa/, \
rsa-sign.o rsa-verify.o rsa-checksum.o \
rsa-mod-exp.o)
+ROCKCHIP_OBS = lib/rc4.o rkcommon.o rkimage.o
+
# common objs for dumpimage and mkimage
dumpimage-mkimage-objs := aisimage.o \
atmelimage.o \
@@ -90,6 +92,7 @@ dumpimage-mkimage-objs := aisimage.o \
os_support.o \
pblimage.o \
pbl_crc32.o \
+ $(ROCKCHIP_OBS) \
socfpgaimage.o \
lib/sha1.o \
lib/sha256.o \