From: Lokesh Vutla Date: Tue, 5 Apr 2016 10:00:53 +0530 Subject: [U-Boot] [RFC PATCH 0/2] spl: Add support to load FIT from Filesystem Message-ID: <1459830655-21766-1-git-send-email-lokeshvutla@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. Tested on DRA74-evm, DRA72-evm using the diff[1] with MMC boot mode: Logs: DRA74-evm: http://pastebin.ubuntu.com/15624158/ DRA72-evm: http://pastebin.ubuntu.com/15624165/ [1] http://pastebin.ubuntu.com/15624172/ Will be posting this diff once this approach gets accepted. Lokesh Vutla (2): spl: Add an option to load a FIT containing U-Boot from FS spl: Support loading a FIT from FAT FS common/spl/spl_fat.c | 27 +++++++++++++-- common/spl/spl_fit.c | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++ include/spl.h | 5 +++ 3 files changed, 126 insertions(+), 2 deletions(-) -- 2.1.4