]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: ringneck-px30: fix TPL_MAX_SIZE
authorQuentin Schulz <quentin.schulz@cherry.de>
Thu, 6 Jun 2024 08:45:36 +0000 (10:45 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 14 Jun 2024 09:11:29 +0000 (17:11 +0800)
Ringneck was mistakenly set to allow up to 128KiB for the TPL code size
while PX30 SoC only has 16KiB of SRAM.

Therefore, let's use the default value of TPL_MAX_SIZE from the SoC
(which is 10KiB) so that the max code size is actually checked and
useful.

Fixes: c925be73a0a8 ("rockchip: add support for PX30 Ringneck SoM on Haikou Devkit")
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
configs/ringneck-px30_defconfig

index a22d25e00892e02d8fecf42bacb84aa55f50a2e2..9965e55d6112f6abd39e91bc694d9d64c70694b3 100644 (file)
@@ -14,7 +14,6 @@ CONFIG_SPL_DRIVERS_MISC=y
 CONFIG_DEBUG_UART_BASE=0xFF030000
 CONFIG_DEBUG_UART_CLOCK=24000000
 CONFIG_SYS_LOAD_ADDR=0x800800
-CONFIG_TPL_MAX_SIZE=0x20000
 CONFIG_DEBUG_UART=y
 # CONFIG_ANDROID_BOOT_IMAGE is not set
 CONFIG_FIT=y