[Concept] [PATCH 11/18] boot: Move obtaining data from a FIT image into a function