[PATCH 2/6] ARM: at91: Switch sama5d2_icp_mmc to simple malloc in SPL

Eugen Hristev eugen.hristev at collabora.com
Mon Jun 26 11:04:43 CEST 2023


On 6/26/23 11:52, Marek Vasut wrote:
> To avoid SRAM overflow in the SPL build, use simple malloc implementation.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> ---
> Cc: Eugen Hristev <eugen.hristev at collabora.com>
> ---
>   configs/sama5d2_icp_mmc_defconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/configs/sama5d2_icp_mmc_defconfig b/configs/sama5d2_icp_mmc_defconfig
> index 6b7e308680e..185694d4319 100644
> --- a/configs/sama5d2_icp_mmc_defconfig
> +++ b/configs/sama5d2_icp_mmc_defconfig
> @@ -41,6 +41,7 @@ CONFIG_SPL_MAX_SIZE=0x10000
>   CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
>   CONFIG_SPL_BSS_START_ADDR=0x20000000
>   CONFIG_SPL_BSS_MAX_SIZE=0x80000
> +CONFIG_SPL_SYS_MALLOC_SIMPLE=y
>   # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
>   CONFIG_SYS_SPL_MALLOC=y
>   CONFIG_SYS_SPL_MALLOC_SIZE=0x80000

why is the email patch arriving after patch was already applied? not to 
say that it was applied so fast and without going through at91 tree.


More information about the U-Boot mailing list