[U-Boot] [PATCH v5 0/2] Generic firmware loader

tien.fong.chee at intel.com
2017-12-21T07:25:26Z

From: Tien Fong Chee <tien.fong.chee@intel.com>

This patchset contains generic firmware loader which is very close to Linux
firmware loader but for U-Boot framework. Generic firmware loader can be used
load whatever into target location, and then consumer driver would use it to
program whatever, ie. the FPGA. This version mainly resolved comments from
Lothar WaÃŸmann, and Lukasz Majewski in [v4].

This series is working on top of u-boot.git -
http://git.denx.de/u-boot.git .

[v4]: https://www.mail-archive.com/u-boot at lists.denx.de/msg272432.html

v4 -> v5 changes:
-----------------
- Changed the env variable name to lower case.
- Added memory freeing function in failure case.
- Assign valid pointer to *firmware_p only when everything is OK.
- Removed the casting on void pointer when assigning to any type pointer.
- Fixed with the right return code.

Patchset history
----------------
[v1]: https://www.mail-archive.com/u-boot at lists.denx.de/msg271905.html
[v2]: https://www.mail-archive.com/u-boot at lists.denx.de/msg271979.html
[v3]: https://www.mail-archive.com/u-boot at lists.denx.de/msg272039.html

Tien Fong Chee (2):
spl: Remove static declaration on spl_mmc_find_device function
common: Generic firmware loader for file system

common/Makefile | 1 +
common/fs_loader.c | 311 +++++++++++++++++++++++++++++++++++++++++++++
common/spl/spl_mmc.c | 2 +-
doc/README.firmware_loader | 76 +++++++++++
include/fs_loader.h | 28 ++++
include/spl.h | 2 +
6 files changed, 419 insertions(+), 1 deletion(-)
create mode 100644 common/fs_loader.c
create mode 100644 doc/README.firmware_loader
create mode 100644 include/fs_loader.h

--
2.2.0