mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-17 16:53:06 +00:00
52472504e9
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: 2a950e3ba5
("rockchip: Add rk3568 architecture core")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
37 lines
776 B
Text
37 lines
776 B
Text
if ROCKCHIP_RK3568
|
|
|
|
choice
|
|
prompt "RK3568/RK3566 board select"
|
|
|
|
config TARGET_EVB_RK3568
|
|
bool "RK3568 evaluation board"
|
|
select BOARD_LATE_INIT
|
|
help
|
|
RK3568 EVB is a evaluation board for Rockchp RK3568.
|
|
|
|
config TARGET_ANBERNIC_RGXX3_RK3566
|
|
bool "Anbernic RGXX3"
|
|
help
|
|
Anbernic RGXX3 gaming device with Rockchip RK3566. This
|
|
config can be used with the RG353M, RG353P, RG353V, RG353VS,
|
|
and RG503. The correct device tree name will automatically
|
|
be selected by the bootloader.
|
|
|
|
endchoice
|
|
|
|
config ROCKCHIP_BOOT_MODE_REG
|
|
default 0xfdc20200
|
|
|
|
config ROCKCHIP_STIMER_BASE
|
|
default 0xfdd1c020
|
|
|
|
config SYS_SOC
|
|
default "rk3568"
|
|
|
|
config SYS_MALLOC_F_LEN
|
|
default 0x20000
|
|
|
|
source "board/rockchip/evb_rk3568/Kconfig"
|
|
source "board/anbernic/rgxx3_rk3566/Kconfig"
|
|
|
|
endif
|