plat: imx8m: refactor the code to make it reusable
authorJacky Bai <ping.bai@nxp.com>
Wed, 6 Mar 2019 08:58:18 +0000 (16:58 +0800)
committerJacky Bai <ping.bai@nxp.com>
Tue, 12 Mar 2019 13:21:03 +0000 (21:21 +0800)
commite8837b0aef0cadbe2428af4ee0ec3d2e84387386
treefd38908b48056e579117f31ccf20b2a79580be76
parentf009c5f312476cdfc0704a3c8a9c66b7fe5b6586
plat: imx8m: refactor the code to make it reusable

for the i.MX8M SOCs, part of the code for gpc
and PSCI implementation can be reused and make it
common for all these SoCs. this patch extracts
the common part for reuse.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
plat/imx/imx8m/gpc_common.c [new file with mode: 0644]
plat/imx/imx8m/imx8m_psci_common.c [new file with mode: 0644]
plat/imx/imx8m/imx8mq/gpc.c
plat/imx/imx8m/imx8mq/imx8mq_bl31_setup.c
plat/imx/imx8m/imx8mq/imx8mq_psci.c
plat/imx/imx8m/imx8mq/include/platform_def.h
plat/imx/imx8m/imx8mq/platform.mk
plat/imx/imx8m/include/gpc.h
plat/imx/imx8m/include/imx8m_psci.h [new file with mode: 0644]