rockchip: mkimage: use imagename to select spl hdr & spl size
authorJeffy Chen <jeffy.chen@rock-chips.com>
Fri, 27 Nov 2015 04:07:17 +0000 (12:07 +0800)
committerSimon Glass <sjg@chromium.org>
Mon, 14 Dec 2015 00:07:29 +0000 (17:07 -0700)
commit7bf274b9caab6de072d4dab34ab0aa66bb128195
treea11415fdb979cbd17ef82c66cded67cc7ea6b6b6
parent5cc5b901e6d319af18b8dc59537c503bbd3ca7f0
rockchip: mkimage: use imagename to select spl hdr & spl size

Our chips may have different spl size and spl header, so
use imagename(passed by "mkimage -n") to select them now.

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
tools/rkcommon.c
tools/rkcommon.h
tools/rkimage.c
tools/rksd.c
tools/rkspi.c