Browse Source

plat/arm: scmi: Move to drivers/ folder

Change-Id: I8989d2aa0258bf3b50a856c5b81532d578600124
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
pull/1784/head
Antonio Nino Diaz 6 years ago
parent
commit
14928b88ab
  1. 2
      drivers/arm/css/scmi/scmi_ap_core_proto.c
  2. 2
      drivers/arm/css/scmi/scmi_common.c
  3. 0
      drivers/arm/css/scmi/scmi_private.h
  4. 2
      drivers/arm/css/scmi/scmi_pwr_dmn_proto.c
  5. 2
      drivers/arm/css/scmi/scmi_sys_pwr_proto.c
  6. 0
      include/drivers/arm/css/scmi.h
  7. 3
      plat/arm/board/juno/juno_pm.c
  8. 2
      plat/arm/board/juno/juno_topology.c
  9. 1
      plat/arm/board/juno/platform.mk
  10. 2
      plat/arm/board/n1sdp/n1sdp_bl31_setup.c
  11. 10
      plat/arm/css/common/css_common.mk
  12. 8
      plat/arm/css/common/sp_min/css_sp_min.mk
  13. 2
      plat/arm/css/drivers/mhu/css_mhu_doorbell.c
  14. 2
      plat/arm/css/drivers/scp/css_pm_scmi.c
  15. 2
      plat/arm/css/sgi/sgi_bl31_setup.c
  16. 2
      plat/arm/css/sgm/sgm_bl31_setup.c

2
plat/arm/css/drivers/scmi/scmi_ap_core_proto.c → drivers/arm/css/scmi/scmi_ap_core_proto.c

@ -8,8 +8,8 @@
#include <arch_helpers.h>
#include <common/debug.h>
#include <drivers/arm/css/scmi.h>
#include "scmi.h"
#include "scmi_private.h"
/*

2
plat/arm/css/drivers/scmi/scmi_common.c → drivers/arm/css/scmi/scmi_common.c

@ -8,8 +8,8 @@
#include <arch_helpers.h>
#include <common/debug.h>
#include <drivers/arm/css/scmi.h>
#include "scmi.h"
#include "scmi_private.h"
#if HW_ASSISTED_COHERENCY

0
plat/arm/css/drivers/scmi/scmi_private.h → drivers/arm/css/scmi/scmi_private.h

2
plat/arm/css/drivers/scmi/scmi_pwr_dmn_proto.c → drivers/arm/css/scmi/scmi_pwr_dmn_proto.c

@ -8,8 +8,8 @@
#include <arch_helpers.h>
#include <common/debug.h>
#include <drivers/arm/css/scmi.h>
#include "scmi.h"
#include "scmi_private.h"
/*

2
plat/arm/css/drivers/scmi/scmi_sys_pwr_proto.c → drivers/arm/css/scmi/scmi_sys_pwr_proto.c

@ -8,8 +8,8 @@
#include <arch_helpers.h>
#include <common/debug.h>
#include <drivers/arm/css/scmi.h>
#include "scmi.h"
#include "scmi_private.h"
/*

0
plat/arm/css/drivers/scmi/scmi.h → include/drivers/arm/css/scmi.h

3
plat/arm/board/juno/juno_pm.c

@ -4,10 +4,9 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <drivers/arm/css/scmi.h>
#include <plat/arm/common/plat_arm.h>
#include <scmi.h>
const plat_psci_ops_t *plat_arm_psci_override_pm_ops(plat_psci_ops_t *ops)
{
#if CSS_USE_SCMI_SDS_DRIVER

2
plat/arm/board/juno/juno_topology.c

@ -4,12 +4,12 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <drivers/arm/css/scmi.h>
#include <plat/arm/common/plat_arm.h>
#include <plat/arm/css/common/css_pm.h>
#include <plat/common/platform.h>
#include <platform_def.h>
#include "../../css/drivers/scmi/scmi.h"
#include "../../css/drivers/mhu/css_mhu_doorbell.h"
#if CSS_USE_SCMI_SDS_DRIVER

1
plat/arm/board/juno/platform.mk

@ -27,7 +27,6 @@ endif
CSS_USE_SCMI_SDS_DRIVER := 1
PLAT_INCLUDES := -Iplat/arm/board/juno/include \
-Iplat/arm/css/drivers/scmi \
-Iplat/arm/css/drivers/sds
PLAT_BL_COMMON_SOURCES := plat/arm/board/juno/${ARCH}/juno_helpers.S \

2
plat/arm/board/n1sdp/n1sdp_bl31_setup.c

@ -6,9 +6,9 @@
#include <platform_def.h>
#include <drivers/arm/css/scmi.h>
#include <plat/arm/common/plat_arm.h>
#include "../../css/drivers/scmi/scmi.h"
#include "../../css/drivers/mhu/css_mhu_doorbell.h"
static scmi_channel_plat_info_t n1sdp_scmi_plat_info = {

10
plat/arm/css/common/css_common.mk

@ -30,11 +30,11 @@ BL31_SOURCES += plat/arm/css/drivers/scp/css_pm_scpi.c \
plat/arm/css/drivers/mhu/css_mhu.c \
plat/arm/css/drivers/scpi/css_scpi.c
else
BL31_SOURCES += plat/arm/css/drivers/scp/css_pm_scmi.c \
plat/arm/css/drivers/scmi/scmi_ap_core_proto.c \
plat/arm/css/drivers/scmi/scmi_common.c \
plat/arm/css/drivers/scmi/scmi_pwr_dmn_proto.c \
plat/arm/css/drivers/scmi/scmi_sys_pwr_proto.c \
BL31_SOURCES += drivers/arm/css/scmi/scmi_ap_core_proto.c \
drivers/arm/css/scmi/scmi_common.c \
drivers/arm/css/scmi/scmi_pwr_dmn_proto.c \
drivers/arm/css/scmi/scmi_sys_pwr_proto.c \
plat/arm/css/drivers/scp/css_pm_scmi.c \
plat/arm/css/drivers/mhu/css_mhu_doorbell.c
endif

8
plat/arm/css/common/sp_min/css_sp_min.mk

@ -13,9 +13,9 @@ BL32_SOURCES += plat/arm/css/drivers/scp/css_pm_scpi.c \
plat/arm/css/drivers/mhu/css_mhu.c \
plat/arm/css/drivers/scpi/css_scpi.c
else
BL32_SOURCES += plat/arm/css/drivers/scp/css_pm_scmi.c \
plat/arm/css/drivers/scmi/scmi_common.c \
plat/arm/css/drivers/scmi/scmi_pwr_dmn_proto.c \
plat/arm/css/drivers/scmi/scmi_sys_pwr_proto.c \
BL32_SOURCES += drivers/arm/css/scmi/scmi_common.c \
drivers/arm/css/scmi/scmi_pwr_dmn_proto.c \
drivers/arm/css/scmi/scmi_sys_pwr_proto.c \
plat/arm/css/drivers/scp/css_pm_scmi.c \
plat/arm/css/drivers/mhu/css_mhu_doorbell.c
endif

2
plat/arm/css/drivers/mhu/css_mhu_doorbell.c

@ -7,9 +7,9 @@
#include <platform_def.h>
#include <arch_helpers.h>
#include <drivers/arm/css/scmi.h>
#include "css_mhu_doorbell.h"
#include "../scmi/scmi.h"
void mhu_ring_doorbell(struct scmi_channel_plat_info *plat_info)
{

2
plat/arm/css/drivers/scp/css_pm_scmi.c

@ -9,12 +9,12 @@
#include <arch_helpers.h>
#include <common/debug.h>
#include <drivers/arm/css/scmi.h>
#include <plat/arm/common/plat_arm.h>
#include <plat/arm/css/common/css_pm.h>
#include <plat/common/platform.h>
#include <platform_def.h>
#include "../scmi/scmi.h"
#include "css_scp.h"
/*

2
plat/arm/css/sgi/sgi_bl31_setup.c

@ -10,12 +10,12 @@
#include <common/bl_common.h>
#include <common/debug.h>
#include <drivers/arm/css/scmi.h>
#include <plat/arm/common/plat_arm.h>
#include <sgi_ras.h>
#include <sgi_variant.h>
#include "../../css/drivers/scmi/scmi.h"
#include "../../css/drivers/mhu/css_mhu_doorbell.h"
sgi_platform_info_t sgi_plat_info;

2
plat/arm/css/sgm/sgm_bl31_setup.c

@ -6,10 +6,10 @@
#include <common/bl_common.h>
#include <common/debug.h>
#include <drivers/arm/css/scmi.h>
#include <plat/arm/common/plat_arm.h>
#include <sgm_plat_config.h>
#include "../../css/drivers/scmi/scmi.h"
#include "../../css/drivers/mhu/css_mhu_doorbell.h"
static scmi_channel_plat_info_t sgm775_scmi_plat_info = {

Loading…
Cancel
Save