plat/arm/scmi: introduce plat_css_get_scmi_info API
authorChandni Cherukuri <chandni.cherukuri@arm.com>
Thu, 11 Oct 2018 08:38:08 +0000 (14:08 +0530)
committerChandni Cherukuri <chandni.cherukuri@arm.com>
Thu, 18 Oct 2018 10:46:03 +0000 (16:16 +0530)
commitb911dddcec2bf9cd2b39ac86547e1f08e6fef82a
treeee1cc7015bc4cd70cfa81dbfbcec3c97e850c72e
parent0595abceba85bee8d6c27e6e122722f816610df7
plat/arm/scmi: introduce plat_css_get_scmi_info API

The default values of 'plat_css_scmi_plat_info' is not applicable for
all the platforms. There should be a provision to let platform code to
register a platform specific instance of scmi_channel_plat_info_t.

Add a new API 'plat_css_get_scmi_info' which lets the platform to
register a platform specific instance of scmi_channel_plat_info_t and
remove the default values.

In addition to this, the existing 'plat_css_scmi_plat_info' structure
is removed from the common code and instantiated for the platforms that
need it. This allows for a consistent provisioning of the SCMI channel
information across all the existing and upcoming platforms.

Change-Id: I4fb65d7f2f165b78697b4677f1e8d81edebeac06
Signed-off-by: Chandni Cherukuri <chandni.cherukuri@arm.com>
plat/arm/board/juno/juno_topology.c
plat/arm/css/drivers/scmi/scmi.h
plat/arm/css/drivers/scp/css_pm_scmi.c
plat/arm/css/sgi/sgi_bl31_setup.c
plat/arm/css/sgm/sgm_bl31_setup.c