hikey960: fix invoking driver init in image load driver
authorHaojian Zhuang <haojian.zhuang@linaro.org>
Tue, 30 Jan 2018 02:35:17 +0000 (10:35 +0800)
committerHaojian Zhuang <haojian.zhuang@linaro.org>
Mon, 5 Mar 2018 05:05:42 +0000 (13:05 +0800)
commit19b731e810399145ee085cfe25411f91bbb0625b
tree27c993ec4f527f8278ddfc955867300a6c9d91d1
parentd2128731a93e0bd1c3580d045232cf9a984db606
hikey960: fix invoking driver init in image load driver

It's unnecessary to call platform driver initialization in image
load driver. We could make bl2_platform_setup() to executing
just before SCP_BL2 by setting flag IMAGE_ATTRIB_PLAT_SETUP.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
plat/hisilicon/hikey960/hikey960_bl2_setup.c
plat/hisilicon/hikey960/hikey960_image_load.c
plat/hisilicon/hikey960/hikey960_private.h