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

This patchset contains generic file system loader DM which is very close to
Linux firmware loader but for U-Boot framework. Generic file system 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 Simon and Anatolij in [v3].
Patch set for sandbox will be sent out separately.

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

[v3]: https://www.mail-archive.com/u-boot@lists.denx.de/msg290433.html
[v2]: https://www.mail-archive.com/u-boot@lists.denx.de/msg286979.html
[v1]: https://www.mail-archive.com/u-boot@lists.denx.de/msg286294.html

v3 -> v4 changes
----------------
- Adding mounting and unmounting for UBI.
- Adding some new enviroment variables.
- Removed storage_device from FDT.
- devpart from fdt changed to phandlepart for supporting block device node
  pointer and partition.
- Adding new function for getting block device description based on device.
- Adding new function for freeing firmware buffer.
- Update firmware doc and device tree binding doc.

Tien Fong Chee (6):
  cmd: ubifs: Move ubifs_initialized checking into cmd_ubifs_umount()
  cmd: ubifs: Factor out some checking codes into cmd_ubifs_mount()
  block: Add a function to find block device descriptor
  doc: Add new doc for file system firmware loader driver model
  doc: dtbinding: Add file system firmware loader binding document
  common: Generic loader for file system

 cmd/ubifs.c                                 |  40 ++--
 doc/device-tree-bindings/chosen.txt         |  21 ++
 doc/device-tree-bindings/misc/fs_loader.txt |  48 +++++
 doc/driver-model/fs_firmware_loader.txt     | 133 +++++++++++++
 drivers/block/blk-uclass.c                  |  23 +++
 drivers/misc/Kconfig                        |  10 +
 drivers/misc/Makefile                       |   1 +
 drivers/misc/fs_loader.c                    | 295 ++++++++++++++++++++++++++++
 include/blk.h                               |   9 +
 include/dm/uclass-id.h                      |   1 +
 include/fs_loader.h                         |  79 ++++++++
 include/ubi_uboot.h                         |   2 +
 12 files changed, 645 insertions(+), 17 deletions(-)
 create mode 100644 doc/device-tree-bindings/misc/fs_loader.txt
 create mode 100644 doc/driver-model/fs_firmware_loader.txt
 create mode 100644 drivers/misc/fs_loader.c
 create mode 100644 include/fs_loader.h

-- 
2.2.0

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to