commit | fc1f58a4da74a8c123241f42a87200d59ee08e81 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Nov 15 18:44:06 2018 -0700 |
committer | Tom Rini <trini@konsulko.com> | Mon Nov 26 08:25:37 2018 -0500 |
tree | d73157df72c6ba0dde7a4ba44cb712a7096d57d3 | |
parent | 7b5ea1452742be72a28f52f4602c986eb342779b [diff] |
sandbox: Use malloc() and free() from os layer 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@chromium.org> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>