Commit e3a5bbce4590fbe18daae51087cd5cf4d2246bb9

Authored by Stefano Babic
Committed by Tom Rini
1 parent fbbbc86e8e

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 a51ec63.

Signed-off-by: Stefano Babic <sbabic@denx.de>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -910,7 +910,7 @@
910 910 &fit_uname_config, arch,
911 911 IH_TYPE_RAMDISK,
912 912 BOOTSTAGE_ID_FIT_RD_START,
913   - FIT_LOAD_REQUIRED, &rd_data, &rd_len);
  913 + FIT_LOAD_IGNORED, &rd_data, &rd_len);
914 914 if (rd_noffset < 0)
915 915 return 1;
916 916