]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: rk3568: Fix alloc space exhausted in SPL
authorJonas Karlman <jonas@kwiboo.se>
Sun, 2 Jul 2023 10:43:57 +0000 (10:43 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 28 Jul 2023 10:45:03 +0000 (18:45 +0800)
commitb93a2d752d254d02b1d7864be194e6f9d9b7cb91
tree79d1506d11c7ada3cac0ad034b4fa879d9b8510d
parent2e9ef5c16a9a9abbd129e793940f456baae2f7c8
rockchip: rk3568: Fix alloc space exhausted in SPL

Current SYS_MALLOC_F_LEN of 0x2000 (8 KB) used in SPL is too small for
some RK3568 boards. SPL will print following during boot:

  alloc space exhausted

Increase the default SYS_MALLOC_F_LEN to 0x20000 (128 KB) to mitigate.

Fixes: 4666a1274a1e ("rockchip: Add rk3568 architecture core")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/rk3568/Kconfig