[U-Boot] [PATCH] misc: fs_loader: Switching private data allocation to DM auto allocation

Simon Glass sjg at chromium.org
Tue Dec 11 01:07:22 UTC 2018


On Mon, 10 Dec 2018 at 06:29, <tien.fong.chee at intel.com> wrote:
>
> From: Tien Fong Chee <tien.fong.chee at intel.com>
>
> Switching private data manual allocation to driver model auto allocation
> so users no longer need to deallocate themself because this would be
> deallocated by driver model when the device is no longer required.
>
> Signed-off-by: Tien Fong Chee <tien.fong.chee at intel.com>
> ---
>  doc/driver-model/fs_firmware_loader.txt |   35 ++--------
>  drivers/misc/fs_loader.c                |  108 +++++++++++++------------------
>  include/fs_loader.h                     |   32 +--------
>  3 files changed, 56 insertions(+), 119 deletions(-)
>

Looks nice, thanks.

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list