intel: Pull out common drivers into platform common

Signed-off-by: Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com>
Change-Id: Ib79e2c6fe6e66dec5004701133ad6a5f4c78f2fa
This commit is contained in:
Hadi Asyrafi 2019-06-12 11:24:12 +08:00
parent de3ad4f096
commit bf719f66a7
7 changed files with 10 additions and 9 deletions

View File

@ -15,7 +15,7 @@
#include <drivers/io/io_storage.h> #include <drivers/io/io_storage.h>
#include <lib/utils.h> #include <lib/utils.h>
#include "drivers/qspi/cadence_qspi.h" #include "qspi/cadence_qspi.h"
/* As we need to be able to keep state for seek, only one file can be open /* As we need to be able to keep state for seek, only one file can be open
* at a time. Make this a structure and point to the entity->info. When we * at a time. Make this a structure and point to the entity->info. When we

View File

@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause * SPDX-License-Identifier: BSD-3-Clause
*/ */
#ifndef __CAD_QSPI_H__ #ifndef CAD_QSPI_H
#define __CAD_QSPI_H__ #define CAD_QSPI_H
#define CAD_QSPI_MICRON_N25Q_SUPPORT 1 #define CAD_QSPI_MICRON_N25Q_SUPPORT 1

View File

@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause * SPDX-License-Identifier: BSD-3-Clause
*/ */
#ifndef __CAD_WATCHDOG_H__ #ifndef CAD_WATCHDOG_H
#define __CAD_WATCHDOG_H__ #define CAD_WATCHDOG_H
#define WDT_BASE (0xFFD00200) #define WDT_BASE (0xFFD00200)
#define WDT_REG_SIZE_OFFSET (0x4) #define WDT_REG_SIZE_OFFSET (0x4)

View File

@ -31,8 +31,8 @@
#include "s10_pinmux.h" #include "s10_pinmux.h"
#include "aarch64/stratix10_private.h" #include "aarch64/stratix10_private.h"
#include "include/s10_mailbox.h" #include "include/s10_mailbox.h"
#include "drivers/qspi/cadence_qspi.h" #include "qspi/cadence_qspi.h"
#include "drivers/wdt/watchdog.h" #include "wdt/watchdog.h"
const mmap_region_t plat_stratix10_mmap[] = { const mmap_region_t plat_stratix10_mmap[] = {

View File

@ -7,6 +7,7 @@
PLAT_INCLUDES := \ PLAT_INCLUDES := \
-Iplat/intel/soc/stratix10/ \ -Iplat/intel/soc/stratix10/ \
-Iplat/intel/soc/stratix10/include/ \ -Iplat/intel/soc/stratix10/include/ \
-Iplat/intel/soc/common/drivers/
PLAT_BL_COMMON_SOURCES := \ PLAT_BL_COMMON_SOURCES := \
lib/xlat_tables/xlat_tables_common.c \ lib/xlat_tables/xlat_tables_common.c \
@ -46,8 +47,8 @@ BL2_SOURCES += \
plat/intel/soc/stratix10/soc/s10_system_manager.c \ plat/intel/soc/stratix10/soc/s10_system_manager.c \
common/desc_image_load.c \ common/desc_image_load.c \
plat/intel/soc/stratix10/soc/s10_mailbox.c \ plat/intel/soc/stratix10/soc/s10_mailbox.c \
plat/intel/soc/stratix10/drivers/qspi/cadence_qspi.c \ plat/intel/soc/common/drivers/qspi/cadence_qspi.c \
plat/intel/soc/stratix10/drivers/wdt/watchdog.c plat/intel/soc/common/drivers/wdt/watchdog.c
BL31_SOURCES += drivers/arm/cci/cci.c \ BL31_SOURCES += drivers/arm/cci/cci.c \
lib/cpus/aarch64/cortex_a53.S \ lib/cpus/aarch64/cortex_a53.S \