aboutsummaryrefslogtreecommitdiffstats
path: root/include/boot_fit.h
Commit message (Collapse)AuthorAgeFilesLines
* fit: use 'const' for the input of fdt_offset() and locate_dtb_in_fit()Jean-Jacques Hiblot2017-10-051-2/+7
| | | | | | | | | Those 2 functions don't modify their input, we can mark it const. This prevents compilation warnings when they are provided const input. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
* boot_fit: Create helper functions that can be used to select DTB out of FITCooper Jr., Franklin2017-07-101-0/+9
Some platforms may append a FIT image to the U-boot image. This function aids in parsing the FIT image and selecting the correct DTB at runtime. Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>