[PATCH] xilinx: Remove SYS_MALLOC_F_LEN setup via board Kconfig
Michal Simek
michal.simek at amd.com
Mon Feb 3 10:09:20 CET 2025
On 1/20/25 14:33, Michal Simek wrote:
> The commit e05689242238 ("Kconfig: Change SYS_MALLOC_F_LEN default to
> 0x2000") already setup default values from board Kconfigs that's why no
> reason to duplicate it again.
>
> Fixes: e05689242238 ("Kconfig: Change SYS_MALLOC_F_LEN default to 0x2000")
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---
>
> arch/arm/mach-zynq/Kconfig | 3 ---
> arch/arm/mach-zynqmp-r5/Kconfig | 3 ---
> arch/arm/mach-zynqmp/Kconfig | 3 ---
> 3 files changed, 9 deletions(-)
>
> diff --git a/arch/arm/mach-zynq/Kconfig b/arch/arm/mach-zynq/Kconfig
> index 265e9ce588ad..376d1bc7131f 100644
> --- a/arch/arm/mach-zynq/Kconfig
> +++ b/arch/arm/mach-zynq/Kconfig
> @@ -43,9 +43,6 @@ config SYS_VENDOR
> config SYS_SOC
> default "zynq"
>
> -config SYS_MALLOC_F_LEN
> - default 0x800
> -
> config SYS_MALLOC_LEN
> default 0x1400000
>
> diff --git a/arch/arm/mach-zynqmp-r5/Kconfig b/arch/arm/mach-zynqmp-r5/Kconfig
> index b2ba896e9b41..45d8c0535774 100644
> --- a/arch/arm/mach-zynqmp-r5/Kconfig
> +++ b/arch/arm/mach-zynqmp-r5/Kconfig
> @@ -19,7 +19,4 @@ config CPU_FREQ_HZ
> help
> The value, in Hz, that the CPU clock is running at.
>
> -config SYS_MALLOC_F_LEN
> - default 0x600
> -
> endif
> diff --git a/arch/arm/mach-zynqmp/Kconfig b/arch/arm/mach-zynqmp/Kconfig
> index 92d61e84319d..151cfada4366 100644
> --- a/arch/arm/mach-zynqmp/Kconfig
> +++ b/arch/arm/mach-zynqmp/Kconfig
> @@ -93,9 +93,6 @@ config SPL_ZYNQMP_DRAM_BANK2_LEN
> help
> Size in bytes of the DRAM ECC bank2. A null size takes no action.
>
> -config SYS_MALLOC_F_LEN
> - default 0x600
> -
> config DEFINE_TCM_OCM_MMAP
> bool "Define TCM and OCM memory in MMU Table"
> default y if MP
Applied.
M
More information about the U-Boot
mailing list