mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
stm32mp1: Move config SYS_MALLOC_LEN to Kconfig
This patch moves the the config SYS_MALLOC_LEN to
Kconfig as it is already done for zynq arch in
commit 01aa5b8f05
("Kconfig: Move config
SYS_MALLOC_LEN to Kconfig for zynq")
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
This commit is contained in:
parent
7e090b466c
commit
ef84dddd83
3 changed files with 4 additions and 6 deletions
2
Kconfig
2
Kconfig
|
@ -147,7 +147,7 @@ config SYS_MALLOC_F_LEN
|
||||||
|
|
||||||
config SYS_MALLOC_LEN
|
config SYS_MALLOC_LEN
|
||||||
hex "Define memory for Dynamic allocation"
|
hex "Define memory for Dynamic allocation"
|
||||||
depends on ARCH_ZYNQ || ARCH_VERSAL
|
depends on ARCH_ZYNQ || ARCH_VERSAL || ARCH_STM32MP
|
||||||
help
|
help
|
||||||
This defines memory to be allocated for Dynamic allocation
|
This defines memory to be allocated for Dynamic allocation
|
||||||
TODO: Use for other architectures
|
TODO: Use for other architectures
|
||||||
|
|
|
@ -23,6 +23,9 @@ config SPL
|
||||||
config SYS_SOC
|
config SYS_SOC
|
||||||
default "stm32mp"
|
default "stm32mp"
|
||||||
|
|
||||||
|
config SYS_MALLOC_LEN
|
||||||
|
default 0x2000000
|
||||||
|
|
||||||
config TARGET_STM32MP1
|
config TARGET_STM32MP1
|
||||||
bool "Support stm32mp1xx"
|
bool "Support stm32mp1xx"
|
||||||
select ARCH_SUPPORT_PSCI if !STM32MP1_TRUSTED
|
select ARCH_SUPPORT_PSCI if !STM32MP1_TRUSTED
|
||||||
|
|
|
@ -22,11 +22,6 @@
|
||||||
#define CONFIG_ARMV7_SECURE_MAX_SIZE STM32_SYSRAM_SIZE
|
#define CONFIG_ARMV7_SECURE_MAX_SIZE STM32_SYSRAM_SIZE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
|
||||||
* malloc() pool size
|
|
||||||
*/
|
|
||||||
#define CONFIG_SYS_MALLOC_LEN SZ_32M
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Configuration of the external SRAM memory used by U-Boot
|
* Configuration of the external SRAM memory used by U-Boot
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue