spl: Allow to load a FIT containing U-Boot from FS
authorLokesh Vutla <lokeshvutla@ti.com>
Tue, 24 May 2016 05:04:38 +0000 (10:34 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 27 May 2016 19:41:39 +0000 (15:41 -0400)
commiteafd5410af2ade58f25da707edaba85e44999621
tree4fd4a6005666b33307b2d8ce35b3bb0cbcd915d1
parent4d9d34a7f280ba0e14896d4157ede677899f83a2
spl: Allow to load a FIT containing U-Boot from FS

This provides a way to load a FIT containing U-Boot and a selection of device
tree files from a File system. Making sure that all the reads and writes
are aligned to their respective needs.

Tested-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
[trini: Make this still apply with Michal's alignment change for 'fit']
Signed-off-by: Tom Rini <trini@konsulko.com>
common/spl/spl_fit.c
common/spl/spl_mmc.c
include/spl.h