[U-Boot] [PATCH 19/22] sandbox: Use malloc() and free() from os layer

Joe Hershberger joe.hershberger at ni.com
Wed Sep 26 22:28:03 UTC 2018


On Wed, Sep 26, 2018 at 4:55 PM, Simon Glass <sjg at chromium.org> wrote:
> At present sandbox calls malloc() from various places in the OS layer and
> this results in calls to U-Boot's malloc() implementation. It is better to
> use the on in the OS layer, since it does not mix allocations with the
> main U-Boot code.
>
> Fix this by replacing calls with malloc() to os_malloc(), etc.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---

Reviewed-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list