uniphier: add a helper to get image_info
In the next commit, I will have more usecases to get struct image_info
from image ID.  It is better to make a helper function at a different
layer.  I do not need the current uniphier_image_descs_fixup() since
the code is small enough to be squashed into the caller side.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
1 parent 2e379d2 commit 0ac60c0801f85bad206a3be978f2dcc2ca9a7829
@Masahiro Yamada Masahiro Yamada authored on 1 Feb 2018
Showing 3 changed files
View
plat/socionext/uniphier/uniphier.h
View
plat/socionext/uniphier/uniphier_bl2_setup.c
View
plat/socionext/uniphier/uniphier_image_desc.c