[PATCH 1/4] configs: Remove default malloc length for K3 R5 SPL

Bryan Brattlof bb at ti.com
Tue Dec 9 13:26:36 CET 2025


On December  8, 2025 thus sayeth Andrew Davis:
> These values are already the default, remove them from these defconfigs.
> 
> Signed-off-by: Andrew Davis <afd at ti.com>
> ---
>  configs/am62x_evm_r5_ethboot_defconfig      | 1 -
>  configs/j722s_evm_r5_ethboot_defconfig      | 1 -
>  configs/phycore_am62ax_r5_ethboot_defconfig | 1 -
>  configs/phycore_am62x_r5_ethboot_defconfig  | 1 -
>  4 files changed, 4 deletions(-)
> 

Nice!

Yeah the preprocessor step these need confuses savedefconfig which is 
probably why these never get the syncs like the base defconfigs. I'll 
make a note about this issue.

Reviewed-by: Bryan Brattlof <bb at ti.com>

~Bryan

> diff --git a/configs/am62x_evm_r5_ethboot_defconfig b/configs/am62x_evm_r5_ethboot_defconfig
> index 5ad4d3f0e5c..c97c4e28fbe 100644
> --- a/configs/am62x_evm_r5_ethboot_defconfig
> +++ b/configs/am62x_evm_r5_ethboot_defconfig
> @@ -8,7 +8,6 @@ CONFIG_DEFAULT_DEVICEC_TREE="k3-am625-r5-sk"
>  CONFIG_SPL_GPIO=y
>  CONFIG_SPL_MMC=n
>  CONFIG_SPL_BOARD_INIT=y
> -CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x200000
>  CONFIG_SPL_BSS_MAX_SIZE=0x3100
>  CONFIG_SPL_DMA=y
>  CONFIG_SPL_ENV_SUPPORT=y
> diff --git a/configs/j722s_evm_r5_ethboot_defconfig b/configs/j722s_evm_r5_ethboot_defconfig
> index fd58485bff2..68237f7d8c3 100644
> --- a/configs/j722s_evm_r5_ethboot_defconfig
> +++ b/configs/j722s_evm_r5_ethboot_defconfig
> @@ -8,7 +8,6 @@ CONFIG_DEFAULT_DEVICE_TREE="k3-j722s-r5-evm"
>  CONFIG_NET=y
>  CONFIG_SPL_DRIVERS_MISC=y
>  CONFIG_SPL_BOARD_INIT=y
> -CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x200000
>  CONFIG_SPL_DMA=y
>  CONFIG_SPL_ENV_SUPPORT=y
>  CONFIG_SPL_ETH=y
> diff --git a/configs/phycore_am62ax_r5_ethboot_defconfig b/configs/phycore_am62ax_r5_ethboot_defconfig
> index 81a7f5b0784..526d15a0dc5 100644
> --- a/configs/phycore_am62ax_r5_ethboot_defconfig
> +++ b/configs/phycore_am62ax_r5_ethboot_defconfig
> @@ -8,7 +8,6 @@ CONFIG_DEFAULT_DEVICE_TREE="k3-am62a7-r5-phycore-som-2gb"
>  
>  CONFIG_SPL_GPIO=y
>  CONFIG_SPL_BOARD_INIT=y
> -CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x200000
>  CONFIG_SPL_BSS_MAX_SIZE=0x3100
>  CONFIG_SPL_DMA=y
>  CONFIG_SPL_ENV_SUPPORT=y
> diff --git a/configs/phycore_am62x_r5_ethboot_defconfig b/configs/phycore_am62x_r5_ethboot_defconfig
> index 3bc426821e9..92dd0be647e 100644
> --- a/configs/phycore_am62x_r5_ethboot_defconfig
> +++ b/configs/phycore_am62x_r5_ethboot_defconfig
> @@ -8,7 +8,6 @@ CONFIG_DEFAULT_DEVICE_TREE="k3-am625-r5-phycore-som-2gb"
>  
>  CONFIG_SPL_GPIO=y
>  CONFIG_SPL_BOARD_INIT=y
> -CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x200000
>  CONFIG_SPL_DMA=y
>  CONFIG_SPL_ENV_SUPPORT=y
>  CONFIG_SPL_ETH=y
> -- 
> 2.39.2
> 


More information about the U-Boot mailing list