From: Kever Yang Date: Wed, 14 Jun 2017 06:54:20 +0000 (+0800) Subject: rockchip: mkimage: correct spl_size for rk3399 X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=915e09814a83128fee8b87b2ee2e5f4a17e04a01;p=u-boot.git rockchip: mkimage: correct spl_size for rk3399 The maximum spl_size for rk3399 is the internal memory size minus the size used in bootrom (which usually can get from SPL_TEXT_BASE). Signed-off-by: Kever Yang Reviewed-by: Philipp Tomsich Reviewed-by: Simon Glass Signed-off-by: Philipp Tomsich --- diff --git a/tools/rkcommon.c b/tools/rkcommon.c index db2da75a96..1056ffa2be 100644 --- a/tools/rkcommon.c +++ b/tools/rkcommon.c @@ -76,7 +76,7 @@ static struct spl_info spl_infos[] = { { "rk3188", "RK31", 0x8000 - 0x800, true, false }, { "rk3288", "RK32", 0x8000, false, false }, { "rk3328", "RK32", 0x8000 - 0x1000, false, false }, - { "rk3399", "RK33", 0x20000, false, true }, + { "rk3399", "RK33", 0x30000 - 0x2000, false, true }, { "rv1108", "RK11", 0x1800, false, false}, };