diff options
author | Stefano Babic <sbabic@denx.de> | 2013-07-12 15:09:23 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-07-12 15:04:43 -0400 |
commit | e3a5bbce4590fbe18daae51087cd5cf4d2246bb9 (patch) | |
tree | 39595bacabf62db1cf8d57ab8e6cdcbd535b94b3 /common/image.c | |
parent | fbbbc86e8ebac4f42f4ca39ceba80cea27c983bc (diff) |
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>
Diffstat (limited to 'common/image.c')
-rw-r--r-- | common/image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/image.c b/common/image.c index 327006e5aa1..f5ad0978d62 100644 --- a/common/image.c +++ b/common/image.c @@ -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; |