Commit 0387aa42 authored by Antonio Nino Diaz's avatar Antonio Nino Diaz
Browse files

plat/arm: scpi: Move to drivers/ folder



Change-Id: Icc59cdaf2b56f6936e9847f1894594c671db2e94
Signed-off-by: default avatarAntonio Nino Diaz <antonio.ninodiaz@arm.com>
parent c411396e
...@@ -10,12 +10,11 @@ ...@@ -10,12 +10,11 @@
#include <arch_helpers.h> #include <arch_helpers.h>
#include <common/debug.h> #include <common/debug.h>
#include <drivers/arm/css/css_mhu.h> #include <drivers/arm/css/css_mhu.h>
#include <drivers/arm/css/css_scpi.h>
#include <lib/utils.h> #include <lib/utils.h>
#include <plat/common/platform.h> #include <plat/common/platform.h>
#include <platform_def.h> #include <platform_def.h>
#include "css_scpi.h"
#define SCPI_SHARED_MEM_SCP_TO_AP PLAT_CSS_SCP_COM_SHARED_MEM_BASE #define SCPI_SHARED_MEM_SCP_TO_AP PLAT_CSS_SCP_COM_SHARED_MEM_BASE
#define SCPI_SHARED_MEM_AP_TO_SCP (PLAT_CSS_SCP_COM_SHARED_MEM_BASE \ #define SCPI_SHARED_MEM_AP_TO_SCP (PLAT_CSS_SCP_COM_SHARED_MEM_BASE \
+ 0x100) + 0x100)
......
...@@ -27,8 +27,8 @@ BL31_SOURCES += plat/arm/css/common/css_pm.c \ ...@@ -27,8 +27,8 @@ BL31_SOURCES += plat/arm/css/common/css_pm.c \
ifeq (${CSS_USE_SCMI_SDS_DRIVER},0) ifeq (${CSS_USE_SCMI_SDS_DRIVER},0)
BL31_SOURCES += drivers/arm/css/mhu/css_mhu.c \ BL31_SOURCES += drivers/arm/css/mhu/css_mhu.c \
plat/arm/css/drivers/scp/css_pm_scpi.c \ drivers/arm/css/scpi/css_scpi.c \
plat/arm/css/drivers/scpi/css_scpi.c plat/arm/css/drivers/scp/css_pm_scpi.c
else else
BL31_SOURCES += drivers/arm/css/mhu/css_mhu_doorbell.c \ BL31_SOURCES += drivers/arm/css/mhu/css_mhu_doorbell.c \
drivers/arm/css/scmi/scmi_ap_core_proto.c \ drivers/arm/css/scmi/scmi_ap_core_proto.c \
...@@ -55,13 +55,13 @@ ifeq (${CSS_LOAD_SCP_IMAGES},1) ...@@ -55,13 +55,13 @@ ifeq (${CSS_LOAD_SCP_IMAGES},1)
BL2_SOURCES += plat/arm/css/drivers/scp/css_sds.c \ BL2_SOURCES += plat/arm/css/drivers/scp/css_sds.c \
plat/arm/css/drivers/sds/sds.c plat/arm/css/drivers/sds/sds.c
else else
BL2U_SOURCES += drivers/arm/css/mhu/css_mhu.c \ BL2U_SOURCES += drivers/arm/css/mhu/css_mhu.c \
plat/arm/css/drivers/scp/css_bom_bootloader.c \ drivers/arm/css/scpi/css_scpi.c \
plat/arm/css/drivers/scpi/css_scpi.c plat/arm/css/drivers/scp/css_bom_bootloader.c
BL2_SOURCES += drivers/arm/css/mhu/css_mhu.c \ BL2_SOURCES += drivers/arm/css/mhu/css_mhu.c \
plat/arm/css/drivers/scp/css_bom_bootloader.c \ drivers/arm/css/scpi/css_scpi.c \
plat/arm/css/drivers/scpi/css_scpi.c plat/arm/css/drivers/scp/css_bom_bootloader.c
# Enable option to detect whether the SCP ROM firmware in use predates version # Enable option to detect whether the SCP ROM firmware in use predates version
# 1.7.0 and therefore, is incompatible. # 1.7.0 and therefore, is incompatible.
CSS_DETECT_PRE_1_7_0_SCP := 1 CSS_DETECT_PRE_1_7_0_SCP := 1
......
...@@ -10,8 +10,8 @@ BL32_SOURCES += plat/arm/css/common/css_pm.c \ ...@@ -10,8 +10,8 @@ BL32_SOURCES += plat/arm/css/common/css_pm.c \
ifeq (${CSS_USE_SCMI_SDS_DRIVER},0) ifeq (${CSS_USE_SCMI_SDS_DRIVER},0)
BL32_SOURCES += drivers/arm/css/mhu/css_mhu.c \ BL32_SOURCES += drivers/arm/css/mhu/css_mhu.c \
plat/arm/css/drivers/scp/css_pm_scpi.c \ drivers/arm/css/scpi/css_scpi.c \
plat/arm/css/drivers/scpi/css_scpi.c plat/arm/css/drivers/scp/css_pm_scpi.c
else else
BL32_SOURCES += drivers/arm/css/mhu/css_mhu_doorbell.c \ BL32_SOURCES += drivers/arm/css/mhu/css_mhu_doorbell.c \
drivers/arm/css/scmi/scmi_common.c \ drivers/arm/css/scmi/scmi_common.c \
......
...@@ -10,10 +10,10 @@ ...@@ -10,10 +10,10 @@
#include <arch_helpers.h> #include <arch_helpers.h>
#include <common/debug.h> #include <common/debug.h>
#include <drivers/arm/css/css_mhu.h> #include <drivers/arm/css/css_mhu.h>
#include <drivers/arm/css/css_scpi.h>
#include <plat/common/platform.h> #include <plat/common/platform.h>
#include <platform_def.h> #include <platform_def.h>
#include "../scpi/css_scpi.h"
#include "css_scp.h" #include "css_scp.h"
/* ID of the MHU slot used for the BOM protocol */ /* ID of the MHU slot used for the BOM protocol */
......
...@@ -8,10 +8,10 @@ ...@@ -8,10 +8,10 @@
#include <arch_helpers.h> #include <arch_helpers.h>
#include <common/debug.h> #include <common/debug.h>
#include <drivers/arm/css/css_scpi.h>
#include <plat/arm/common/plat_arm.h> #include <plat/arm/common/plat_arm.h>
#include <plat/arm/css/common/css_pm.h> #include <plat/arm/css/common/css_pm.h>
#include "../scpi/css_scpi.h"
#include "css_scp.h" #include "css_scp.h"
/* /*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment