common: image-fit: Use a common function to get address
authorYork Sun <york.sun@nxp.com>
Mon, 29 Feb 2016 23:48:40 +0000 (15:48 -0800)
committerTom Rini <trini@konsulko.com>
Mon, 14 Mar 2016 23:18:40 +0000 (19:18 -0400)
commit6004765d14b81210cabc6b0ed807bc0a9f12cdab
tree946ee1e1980390a945c5df17348186651e8cba7a
parent2ac07f75d1977008e829d00bcce16143e171765d
common: image-fit: Use a common function to get address

FIT image supports load address and entry address. Getting these
addresses can use a common function.

Signed-off-by: York Sun <york.sun@nxp.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/image-fit.c