Commit 5932d194 authored by Antonio Nino Diaz's avatar Antonio Nino Diaz
Browse files

plat/arm: sds: Move to drivers/ folder



Change-Id: Ia601d5ad65ab199e747fb60af4979b7db477d249
Signed-off-by: default avatarAntonio Nino Diaz <antonio.ninodiaz@arm.com>
parent 2d4135e0
...@@ -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_scp.h> #include <drivers/arm/css/css_scp.h>
#include <drivers/arm/css/sds.h>
#include <drivers/delay_timer.h> #include <drivers/delay_timer.h>
#include <plat/common/platform.h> #include <plat/common/platform.h>
#include <platform_def.h> #include <platform_def.h>
#include "../sds/sds.h"
int css_scp_boot_image_xfer(void *image, unsigned int image_size) int css_scp_boot_image_xfer(void *image, unsigned int image_size)
{ {
int ret; int ret;
......
...@@ -6,8 +6,9 @@ ...@@ -6,8 +6,9 @@
#include <arch.h> #include <arch.h>
#include <asm_macros.S> #include <asm_macros.S>
#include <drivers/arm/css/sds.h>
#include <platform_def.h> #include <platform_def.h>
#include "../sds.h"
#include "../sds_private.h" #include "../sds_private.h"
.globl sds_get_primary_cpu_id .globl sds_get_primary_cpu_id
......
...@@ -6,8 +6,9 @@ ...@@ -6,8 +6,9 @@
#include <arch.h> #include <arch.h>
#include <asm_macros.S> #include <asm_macros.S>
#include <drivers/arm/css/sds.h>
#include <platform_def.h> #include <platform_def.h>
#include "../sds.h"
#include "../sds_private.h" #include "../sds_private.h"
.globl sds_get_primary_cpu_id .globl sds_get_primary_cpu_id
......
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
#include <arch_helpers.h> #include <arch_helpers.h>
#include <common/debug.h> #include <common/debug.h>
#include <drivers/arm/css/sds.h>
#include <platform_def.h> #include <platform_def.h>
#include "sds.h"
#include "sds_private.h" #include "sds_private.h"
/* /*
......
...@@ -9,13 +9,12 @@ ...@@ -9,13 +9,12 @@
#include <common/bl_common.h> #include <common/bl_common.h>
#include <common/debug.h> #include <common/debug.h>
#include <common/tbbr/tbbr_img_def.h> #include <common/tbbr/tbbr_img_def.h>
#include <drivers/arm/css/sds.h>
#include <drivers/arm/sp805.h> #include <drivers/arm/sp805.h>
#include <plat/arm/common/plat_arm.h> #include <plat/arm/common/plat_arm.h>
#include <plat/common/platform.h> #include <plat/common/platform.h>
#include <platform_def.h> #include <platform_def.h>
#include <sds.h>
void juno_reset_to_aarch32_state(void); void juno_reset_to_aarch32_state(void);
static int is_watchdog_reset(void) static int is_watchdog_reset(void)
......
...@@ -26,8 +26,7 @@ endif ...@@ -26,8 +26,7 @@ endif
# SCP during power management operations and for SCP RAM Firmware transfer. # SCP during power management operations and for SCP RAM Firmware transfer.
CSS_USE_SCMI_SDS_DRIVER := 1 CSS_USE_SCMI_SDS_DRIVER := 1
PLAT_INCLUDES := -Iplat/arm/board/juno/include \ PLAT_INCLUDES := -Iplat/arm/board/juno/include
-Iplat/arm/css/drivers/sds
PLAT_BL_COMMON_SOURCES := plat/arm/board/juno/${ARCH}/juno_helpers.S \ PLAT_BL_COMMON_SOURCES := plat/arm/board/juno/${ARCH}/juno_helpers.S \
plat/arm/board/juno/juno_common.c plat/arm/board/juno/juno_common.c
...@@ -87,7 +86,7 @@ BL31_SOURCES += drivers/cfi/v2m/v2m_flash.c \ ...@@ -87,7 +86,7 @@ BL31_SOURCES += drivers/cfi/v2m/v2m_flash.c \
${JUNO_SECURITY_SOURCES} ${JUNO_SECURITY_SOURCES}
ifeq (${CSS_USE_SCMI_SDS_DRIVER},1) ifeq (${CSS_USE_SCMI_SDS_DRIVER},1)
BL1_SOURCES += plat/arm/css/drivers/sds/sds.c BL1_SOURCES += drivers/arm/css/sds/sds.c
endif endif
endif endif
......
...@@ -50,10 +50,10 @@ ifeq (${CSS_LOAD_SCP_IMAGES},1) ...@@ -50,10 +50,10 @@ ifeq (${CSS_LOAD_SCP_IMAGES},1)
ifeq (${CSS_USE_SCMI_SDS_DRIVER},1) ifeq (${CSS_USE_SCMI_SDS_DRIVER},1)
BL2U_SOURCES += drivers/arm/css/scp/css_sds.c \ BL2U_SOURCES += drivers/arm/css/scp/css_sds.c \
plat/arm/css/drivers/sds/sds.c drivers/arm/css/sds/sds.c
BL2_SOURCES += drivers/arm/css/scp/css_sds.c \ BL2_SOURCES += drivers/arm/css/scp/css_sds.c \
plat/arm/css/drivers/sds/sds.c drivers/arm/css/sds/sds.c
else else
BL2U_SOURCES += drivers/arm/css/mhu/css_mhu.c \ BL2U_SOURCES += drivers/arm/css/mhu/css_mhu.c \
drivers/arm/css/scp/css_bom_bootloader.c \ drivers/arm/css/scp/css_bom_bootloader.c \
...@@ -73,7 +73,7 @@ ifeq (${CSS_LOAD_SCP_IMAGES},1) ...@@ -73,7 +73,7 @@ ifeq (${CSS_LOAD_SCP_IMAGES},1)
endif endif
ifeq (${CSS_USE_SCMI_SDS_DRIVER},1) ifeq (${CSS_USE_SCMI_SDS_DRIVER},1)
PLAT_BL_COMMON_SOURCES += plat/arm/css/drivers/sds/${ARCH}/sds_helpers.S PLAT_BL_COMMON_SOURCES += drivers/arm/css/sds/${ARCH}/sds_helpers.S
endif endif
# Process CSS_USE_SCMI_SDS_DRIVER flag # Process CSS_USE_SCMI_SDS_DRIVER flag
......
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