Skip to content
  • Bryan Wu's avatar
    image: fix bootm failure for FIT image · 6c454fed
    Bryan Wu authored
    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>
    6c454fed