From d83580ffea6f536e4ffa77d4126cbedaf9acdb97 Mon Sep 17 00:00:00 2001 From: Judith Mendez Date: Tue, 5 Dec 2023 16:26:41 -0600 Subject: configs: am62ax_r5_usbdfu_defconfig: Sync USB-DFU with default defconfig Size of malloc was standardized to 2M for all am6*_r5_defconfigs, but USB DFU defconfig was missed, update this config option now. The following warning can be seen with usb-dfu boot: SPL possible initial stack overflow detected!! so increase SIZE_LIMIT_PROVIDE_STACK to match the default defconfig. Fixes: 794614311a6 (configs: am6*_r5_defconfig: Standardize SPL_STACK_R_MALLOC_SIMPLE_LEN to 2M) Fixes: beee2418683 (configs: am62ax: Add a new USB DFU defconfig) Signed-off-by: Judith Mendez --- configs/am62ax_evm_r5_usbdfu_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configs') diff --git a/configs/am62ax_evm_r5_usbdfu_defconfig b/configs/am62ax_evm_r5_usbdfu_defconfig index fda0711ca9..10dbffd52d 100644 --- a/configs/am62ax_evm_r5_usbdfu_defconfig +++ b/configs/am62ax_evm_r5_usbdfu_defconfig @@ -1,6 +1,7 @@ CONFIG_ARM=y CONFIG_ARCH_K3=y CONFIG_TI_SECURE_DEVICE=y +CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x200000 CONFIG_SYS_MALLOC_F_LEN=0x8000 CONFIG_SPL_GPIO_SUPPORT=y CONFIG_SPL_LIBCOMMON_SUPPORT=y @@ -20,7 +21,7 @@ CONFIG_SPL_STACK_R_ADDR=0x82000000 CONFIG_SPL_SIZE_LIMIT=0x3A7F0 CONFIG_SPL_SIZE_LIMIT_SUBTRACT_MALLOC=y CONFIG_SPL_SIZE_LIMIT_SUBTRACT_GD=y -CONFIG_SPL_SIZE_LIMIT_PROVIDE_STACK=0x3500 +CONFIG_SPL_SIZE_LIMIT_PROVIDE_STACK=0x4400 CONFIG_SPL_FS_FAT=y CONFIG_SPL_LIBDISK_SUPPORT=y CONFIG_DEFAULT_DEVICE_TREE="k3-am62a7-r5-sk" -- cgit v1.2.3