[PATCH 1/3] riscv: mpfs-icicle-kit: Increase SYS_MALLOC_F_LEN

Padmarao Begari padmarao.b at gmail.com
Tue Apr 6 18:14:10 CEST 2021


On Wed, Mar 31, 2021 at 12:55 PM Bin Meng <bmeng.cn at gmail.com> wrote:

> The RISC-V architecture default value of CONFIG_SYS_MALLOC_F_LEN
> (0x1000) would not provide enough memory for devices like mpfs
> clock and ns16550 serial to bind well before relocation.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
>  configs/microchip_mpfs_icicle_defconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/configs/microchip_mpfs_icicle_defconfig
> b/configs/microchip_mpfs_icicle_defconfig
> index 0c15c3bd38..1cb29201b4 100644
> --- a/configs/microchip_mpfs_icicle_defconfig
> +++ b/configs/microchip_mpfs_icicle_defconfig
> @@ -1,4 +1,5 @@
>  CONFIG_RISCV=y
> +CONFIG_SYS_MALLOC_F_LEN=0x2000
>  CONFIG_ENV_SIZE=0x2000
>  CONFIG_DEFAULT_DEVICE_TREE="microchip-mpfs-icicle-kit"
>  CONFIG_TARGET_MICROCHIP_ICICLE=y
> --
> 2.25.1
>
>
Reviewed-by: Padmarao Begari <padmarao.begari at microchip.com>
Tested-by: Padmarao Begari <padmarao.begari at microchip.com>


More information about the U-Boot mailing list