]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
image: introduce genimg_get_kernel_addr()
authorBryan Wu <cooloney@gmail.com>
Fri, 1 Aug 2014 00:39:58 +0000 (17:39 -0700)
committerTom Rini <trini@ti.com>
Sat, 9 Aug 2014 15:18:47 +0000 (11:18 -0400)
commit0f64140b69ecf18f488164739374ca13aa0a5517
tree893dcb7e712e006652e97515bdd161e9a6f60675
parent68dc8769e3994b7dc8b53491c3f9cbd1172260e0
image: introduce genimg_get_kernel_addr()

Kernel address is normally stored as a string argument of bootm or bootz.
This function is taken out from boot_get_kernel() of bootm.c, which can be
reused by others.

Signed-off-by: Bryan Wu <pengw@nvidia.com>
[trini: Fix warnings with CONFIG_FIT]
Signed-off-by: Tom Rini <trini@ti.com>
common/image.c
include/image.h