mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
fit: Introduce methods for applying overlays on fit-load
Introduce an overlay based method for constructing a base DT blob to pass to the kernel. It is based on a specific method now to get the FDT from a FIT image named boot_get_fdt_fit(). Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Simon Glass
parent
7c3dc776b9
commit
169043d826
@@ -356,17 +356,16 @@ int boot_get_fdt(int flag, int argc, char * const argv[], uint8_t arch,
|
||||
if (fit_check_format(buf)) {
|
||||
ulong load, len;
|
||||
|
||||
fdt_noffset = fit_image_load(images,
|
||||
fdt_noffset = boot_get_fdt_fit(images,
|
||||
fdt_addr, &fit_uname_fdt,
|
||||
&fit_uname_config,
|
||||
arch, IH_TYPE_FLATDT,
|
||||
BOOTSTAGE_ID_FIT_FDT_START,
|
||||
FIT_LOAD_OPTIONAL, &load, &len);
|
||||
arch, &load, &len);
|
||||
|
||||
images->fit_hdr_fdt = map_sysmem(fdt_addr, 0);
|
||||
images->fit_uname_fdt = fit_uname_fdt;
|
||||
images->fit_noffset_fdt = fdt_noffset;
|
||||
fdt_addr = load;
|
||||
|
||||
break;
|
||||
} else
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user