Skip to content
Snippets Groups Projects
Commit 6c454fed authored by Bryan Wu's avatar Bryan Wu Committed by Tom Rini
Browse files

image: fix bootm failure for FIT image


Commit b3dd64f5 "bootm: use genimg_get_kernel_addr()" introduced
a bug for booting FIT image. It's because calling fit_parse_config()
twice will give us wrong value in img_addr.

Add a new function genimg_get_kernel_addr_fit() whichl will always
return fit_uname_config and fit_uname_kernel for CONFIG_FIT.
genimg_get_kernel_addr() will ignore those to parameters.

Reported-by: default avatarYork Sun <yorksun@freescale.com>
Signed-off-by: default avatarBryan Wu <pengw@nvidia.com>
parent f28c9708
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment