From 4456ecc0a36811520542aa8394496929e458f273 Mon Sep 17 00:00:00 2001 From: Sylvio Alves Date: Tue, 21 Jan 2025 09:02:29 -0300 Subject: [PATCH] soc: esp32xx: remove unused kconfig entry ESP_HEAP_SEARCH_ALL_REGIONS kconfig entry is not used and can be totally removed. Signed-off-by: Sylvio Alves --- samples/boards/espressif/spiram_test/prj.conf | 1 - soc/espressif/common/Kconfig.spiram | 8 -------- tests/boards/espressif/cache_coex/prj.conf | 1 - 3 files changed, 10 deletions(-) diff --git a/samples/boards/espressif/spiram_test/prj.conf b/samples/boards/espressif/spiram_test/prj.conf index c7dc9a2f6a9..64d0f6d73c9 100644 --- a/samples/boards/espressif/spiram_test/prj.conf +++ b/samples/boards/espressif/spiram_test/prj.conf @@ -1,3 +1,2 @@ CONFIG_ESP_SPIRAM=y CONFIG_HEAP_MEM_POOL_SIZE=98304 -CONFIG_ESP_HEAP_SEARCH_ALL_REGIONS=n diff --git a/soc/espressif/common/Kconfig.spiram b/soc/espressif/common/Kconfig.spiram index 94dcf9a1676..1c209839a7a 100644 --- a/soc/espressif/common/Kconfig.spiram +++ b/soc/espressif/common/Kconfig.spiram @@ -15,14 +15,6 @@ config ESP_SPIRAM menu "SPI RAM config" depends on ESP_SPIRAM -config ESP_HEAP_SEARCH_ALL_REGIONS - bool "Search for all available heap regions" - default y - help - This configuration enables searching all available heap - regions. If the region of desired capability is exhausted, - memory will be allocated from other available region. - config ESP_SPIRAM_HEAP_SIZE int "Size of SPIRAM heap" default 262134 if SYS_HEAP_SMALL_ONLY diff --git a/tests/boards/espressif/cache_coex/prj.conf b/tests/boards/espressif/cache_coex/prj.conf index 7dd9dfcd5e8..fcbffd3cd84 100644 --- a/tests/boards/espressif/cache_coex/prj.conf +++ b/tests/boards/espressif/cache_coex/prj.conf @@ -1,6 +1,5 @@ CONFIG_ESP_SPIRAM=y CONFIG_HEAP_MEM_POOL_SIZE=98304 -CONFIG_ESP_HEAP_SEARCH_ALL_REGIONS=n CONFIG_FLASH=y CONFIG_ENTROPY_GENERATOR=y CONFIG_ZTEST=y