[U-Boot] [PATCH v4 0/3] spl: Add support to load FIT from Filesystem

Lokesh Vutla lokeshvutla at ti.com
Tue May 3 11:05:08 CEST 2016


Some devices like MMC, USB can be formatted to a FS and can act as a boot media.
Given that FIT image load support in SPL support only raw devices, SPL should
also be able to support loading FIT image from a File system.
This series add support to load FIT image from a filesystem and also adding
hooks to FAT FS.

Changes since v3:
- Use the same function for reading the fit from FS or raw device.

Lokesh Vutla (3):
  spl: fit: Fix the number of bytes read when reading fdt from fit
  spl: Allow to load a FIT containing U-Boot from FS
  spl: Support loading a FIT from FAT FS

 common/spl/spl_fat.c | 31 ++++++++++++++++++++--
 common/spl/spl_fit.c | 75 ++++++++++++++++++++++++++++++++++++++++++----------
 include/spl.h        | 10 +++++++
 3 files changed, 100 insertions(+), 16 deletions(-)

-- 
2.1.4



More information about the U-Boot mailing list