]> git.sur5r.net Git - u-boot/commitdiff
rockchip: mkimage: correct spl_size for rk3399
authorKever Yang <kever.yang@rock-chips.com>
Wed, 14 Jun 2017 06:54:20 +0000 (14:54 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 23 Jun 2017 14:40:23 +0000 (16:40 +0200)
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@rock-chips.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
tools/rkcommon.c

index db2da75a966945c6f66c2ef466dfb8d1444b975e..1056ffa2be062a6d7cb05c90a3d8642cc1f2a205 100644 (file)
@@ -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},
 };