[U-Boot] [PATCH v5 0/2] Generic firmware loader
tien.fong.chee at intel.com
tien.fong.chee at intel.com
Thu Dec 21 07:25:27 UTC 2017
From: Tien Fong Chee <tien.fong.chee at 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@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 withthe right return code.
Patchset history
----------------
[v1]: https://www.mail-archive.com/u-boot@lists.denx.de/msg271905.html
[v2]: https://www.mail-archive.com/u-boot@lists.denx.de/msg271979.html
[v3]: https://www.mail-archive.com/u-boot@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
More information about the U-Boot
mailing list