mm/Kconfig: remove wrong dependency and explanation for MM_KERNEL_HEAP
CONFIG_MM_KERNEL_HEAP is mandatory so that it should not be turned
off by user and it should not have any dependency. Explanation either
has regacy content.
This commit removes dependencies with PROTECTED_BUILD and KERNEL_BUILD
and remove config description to hide from user.
#
config MM_KERNEL_HEAP
- bool "Support a protected, kernel heap"
+ bool
default y
- depends on BUILD_PROTECTED || BUILD_KERNEL
- ---help---
- Partition heap memory into two parts: (1) a protected, kernel-mode
- heap accessible only by the TinyAra kernel, and (2) an unprotected
- user-mode heap for use by applications. If you are only interested
- in protected the kernel from read access, then this option is not
- necessary. If you wish to secure the kernel data as well, then
- this option should be selected.
-
- The kernel heap size that is used is provided a a platform-specific
- up_allocate_kheap() interface. This configuration setting is made
- available to that platform specific code. However, the
- up_allocate_kheap() interface may chose to ignore this setting if it
- has a more appropriate heap allocation strategy.
config REALLOC_DISABLE_NEIGHBOR_EXTENSION
bool "Disable Realloc Neighbor Extension"
