Hi Fabio,

On 11 November 2015 at 15:15, Fabio Estevam <feste...@gmail.com> wrote:
> From: Fabio Estevam <fabio.este...@freescale.com>
>
> Make clear that when the user selects CONFIG_SYS_SPL_MALLOC_START the
> full malloc will be used in SPL and also that this malloc pool
> can be used prior to configuring SPL.
>
> Signed-off-by: Fabio Estevam <fabio.este...@freescale.com>
> ---
>  README | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/README b/README
> index ef8d437..4f3dd13 100644
> --- a/README
> +++ b/README
> @@ -3568,6 +3568,8 @@ FIT uImage format:
>
>                 CONFIG_SYS_SPL_MALLOC_START
>                 Starting address of the malloc pool used in SPL.
> +               When this option is set the full malloc is used in SPL.
> +               This malloc pool can be used prior to DRAM initialization.

This is the 'full' malloc(). So I think you need to mention that this
is set up by spl_init(), and before that, the simple malloc() can be
used if CONFIG_SYS_MALLOC_F is defined.

There is great potential for confusion so I'd like the docs to be very clear.

>
>                 CONFIG_SYS_SPL_MALLOC_SIZE
>                 The size of the malloc pool used in SPL.
> --
> 1.9.1
>

Regards,
Simon
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to