diff options
author | Bryan Wu <cooloney@gmail.com> | 2014-08-15 16:51:38 -0700 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-08-21 12:01:29 -0400 |
commit | 6c454fedf5195e4160bd7aa398f7a4bb17d7157c (patch) | |
tree | 6fb190e57815b3afa3883245bf076008be07f577 /net/bootp.c | |
parent | f28c9708e35d8cc9c5a116dbe13ee9281affb097 (diff) | |
download | u-boot-imx-6c454fedf5195e4160bd7aa398f7a4bb17d7157c.zip u-boot-imx-6c454fedf5195e4160bd7aa398f7a4bb17d7157c.tar.gz u-boot-imx-6c454fedf5195e4160bd7aa398f7a4bb17d7157c.tar.bz2 |
image: fix bootm failure for FIT image
Commit b3dd64f5d537 "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: York Sun <yorksun@freescale.com>
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Diffstat (limited to 'net/bootp.c')
0 files changed, 0 insertions, 0 deletions