From 915e09814a83128fee8b87b2ee2e5f4a17e04a01 Mon Sep 17 00:00:00 2001 From: Kever Yang Date: Wed, 14 Jun 2017 14:54:20 +0800 Subject: [PATCH] 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 --- tools/rkcommon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}, }; -- 2.25.1