[U-Boot] [PATCH] rockchip: mkimage: correct spl_size for rk3399
Kever Yang
kever.yang at rock-chips.com
Wed Jun 14 06:54:20 UTC 2017
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 <kever.yang at rock-chips.com>
---
tools/rkcommon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/rkcommon.c b/tools/rkcommon.c
index 395d2db..4b496a0 100644
--- a/tools/rkcommon.c
+++ b/tools/rkcommon.c
@@ -73,7 +73,7 @@ static struct spl_info spl_infos[] = {
{ "rk3288", "RK32", 0x8000, false, false },
{ "rk322x", "RK32", 0x8000 - 0x1000, false, false },
{ "rk3328", "RK32", 0x8000 - 0x1000, false, false },
- { "rk3399", "RK33", 0x20000, false, true },
+ { "rk3399", "RK33", 0x30000 - 0x2000, false, true },
};
static unsigned char rc4_key[16] = {
--
1.9.1
More information about the U-Boot
mailing list