Skip to content
Snippets Groups Projects
Commit e3a5bbce authored by Stefano Babic's avatar Stefano Babic Committed by Tom Rini
Browse files

common/image.c: Fix regression with ramdisk load/entry points in FIT


A FIT image with a ramdisk that sets the entry or load points to 0x0
must be treated as meaning "leave in place" and NOT "relocate to 0x0".
This regression was introduced in a51ec63b.

Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
parent fbbbc86e
No related branches found
No related tags found
No related merge requests found
......@@ -910,7 +910,7 @@ int boot_get_ramdisk(int argc, char * const argv[], bootm_headers_t *images,
&fit_uname_config, arch,
IH_TYPE_RAMDISK,
BOOTSTAGE_ID_FIT_RD_START,
FIT_LOAD_REQUIRED, &rd_data, &rd_len);
FIT_LOAD_IGNORED, &rd_data, &rd_len);
if (rd_noffset < 0)
return 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment