]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: mkimage: Update init size limit for RK3328
authorJonas Karlman <jonas@kwiboo.se>
Sat, 25 Feb 2023 19:01:34 +0000 (19:01 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Tue, 28 Feb 2023 10:07:26 +0000 (18:07 +0800)
Latest vendor TPL for RK3328 has grown past the current init size limit
of 28KiB, sync the init size limit from vendor u-boot to fix this.

Set init size limit to 30KiB (+2KiB) for RK3328.

This makes it possible to use latest vendor TPL on RK3328 without
getting a size limit error running the mkimage command.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
tools/rkcommon.c

index 1f1eaa16752babac910ac6ed60a6f8f79378c65a..70bc66fdba6e0d07910ac88e55c889cc708747d5 100644 (file)
@@ -129,7 +129,7 @@ static struct spl_info spl_infos[] = {
        { "rk322x", "RK32", 0x8000 - 0x1000, false, RK_HEADER_V1 },
        { "rk3288", "RK32", 0x8000, false, RK_HEADER_V1 },
        { "rk3308", "RK33", 0x40000 - 0x1000, false, RK_HEADER_V1 },
-       { "rk3328", "RK32", 0x8000 - 0x1000, false, RK_HEADER_V1 },
+       { "rk3328", "RK32", 0x8000 - 0x800, false, RK_HEADER_V1 },
        { "rk3368", "RK33", 0x8000 - 0x1000, false, RK_HEADER_V1 },
        { "rk3399", "RK33", 0x30000 - 0x2000, false, RK_HEADER_V1 },
        { "rv1108", "RK11", 0x1800, false, RK_HEADER_V1 },