summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorJudith Mendez <jm@ti.com>2023-12-05 16:26:41 -0600
committerPraneeth Bajjuri <praneeth@ti.com>2023-12-06 09:10:37 -0600
commitd83580ffea6f536e4ffa77d4126cbedaf9acdb97 (patch)
tree57465173ccc2616026294b0dc7f25dd244c420cf /configs
parent97083e42dc053c96b34f3e270a6a0b7c5feb83a7 (diff)
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 <jm@ti.com>
Diffstat (limited to 'configs')
-rw-r--r--configs/am62ax_evm_r5_usbdfu_defconfig3
1 files changed, 2 insertions, 1 deletions
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"