diff options
author | Jonas Karlman <jonas@kwiboo.se> | 2023-07-02 10:43:57 +0000 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2023-07-28 18:45:03 +0800 |
commit | 52472504e9c48cc1b34e0942c0075cd111ea85f0 (patch) | |
tree | 79d1506d11c7ada3cac0ad034b4fa879d9b8510d | |
parent | 3d17ee453348f49a975ea9a0c399258c01a160ed (diff) | |
download | u-boot-52472504e9c48cc1b34e0942c0075cd111ea85f0.zip u-boot-52472504e9c48cc1b34e0942c0075cd111ea85f0.tar.gz u-boot-52472504e9c48cc1b34e0942c0075cd111ea85f0.tar.bz2 |
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: 2a950e3ba506 ("rockchip: Add rk3568 architecture core")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
-rw-r--r-- | arch/arm/mach-rockchip/rk3568/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-rockchip/rk3568/Kconfig b/arch/arm/mach-rockchip/rk3568/Kconfig index 94e04b7..4424a3c 100644 --- a/arch/arm/mach-rockchip/rk3568/Kconfig +++ b/arch/arm/mach-rockchip/rk3568/Kconfig @@ -29,7 +29,7 @@ config SYS_SOC default "rk3568" config SYS_MALLOC_F_LEN - default 0x2000 + default 0x20000 source "board/rockchip/evb_rk3568/Kconfig" source "board/anbernic/rgxx3_rk3566/Kconfig" |