hikey960: move out duplicated code
authorHaojian Zhuang <haojian.zhuang@linaro.org>
Mon, 5 Mar 2018 05:20:33 +0000 (13:20 +0800)
committerHaojian Zhuang <haojian.zhuang@linaro.org>
Mon, 5 Mar 2018 05:21:23 +0000 (13:21 +0800)
commit4e858ba0edaf69d3adf6fd1382299905fcb7c7fe
tree83a66c38917f0f3cdc841d603199b4f64f017f91
parent19b731e810399145ee085cfe25411f91bbb0625b
hikey960: move out duplicated code

Create hikey960_bl_common.c to store duplication initialization
code in both BL1 and BL2.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
plat/hisilicon/hikey960/hikey960_bl1_setup.c
plat/hisilicon/hikey960/hikey960_bl2_setup.c
plat/hisilicon/hikey960/hikey960_bl_common.c [new file with mode: 0644]
plat/hisilicon/hikey960/hikey960_private.h
plat/hisilicon/hikey960/platform.mk