]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: mkimage: Update init size limit for RK3568
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)
The current init size limit of 76KiB is too big to fit in the 64KiB SRAM
on RK3568, sync init size limit from vendor u-boot to fix this.

Set init size limit to 60KiB (-16KiB) for RK3568.

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

index 70bc66fdba6e0d07910ac88e55c889cc708747d5..0d29110a4dec50d625ed21c1a88103a52488919d 100644 (file)
@@ -134,7 +134,7 @@ static struct spl_info spl_infos[] = {
        { "rk3399", "RK33", 0x30000 - 0x2000, false, RK_HEADER_V1 },
        { "rv1108", "RK11", 0x1800, false, RK_HEADER_V1 },
        { "rv1126", "110B", 0x10000 - 0x1000, false, RK_HEADER_V1 },
-       { "rk3568", "RK35", 0x14000 - 0x1000, false, RK_HEADER_V2 },
+       { "rk3568", "RK35", 0x10000 - 0x1000, false, RK_HEADER_V2 },
 };
 
 /**