plat/arm/sgi: refactor header file inclusions
Upcoming RD platforms have deviations in various definitions of platform macros from that of the exisiting platforms. In preparation for adding support for those upcoming RD platforms, refactor the header file inclusion to allow newer platforms to use a different set of platform macros. Change-Id: Ic80283ddadafaa7f766f300652cb0d4e507efdb6 Signed-off-by: Aditya Angadi <aditya.angadi@arm.com>
This commit is contained in:
parent
db2aeddc79
commit
60f995fd98
|
@ -9,7 +9,7 @@
|
|||
|
||||
#include <lib/utils_def.h>
|
||||
|
||||
#include <sgi_base_platform_def.h>
|
||||
#include <sgi_soc_platform_def.h>
|
||||
|
||||
#define PLAT_ARM_CLUSTER_COUNT U(16)
|
||||
#define CSS_SGI_MAX_CPUS_PER_CLUSTER U(1)
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#define PLATFORM_DEF_H
|
||||
|
||||
#include <lib/utils_def.h>
|
||||
#include <sgi_base_platform_def.h>
|
||||
#include <sgi_soc_platform_def.h>
|
||||
|
||||
#define PLAT_ARM_CLUSTER_COUNT U(4)
|
||||
#define CSS_SGI_MAX_CPUS_PER_CLUSTER U(1)
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include <drivers/arm/gic600_multichip.h>
|
||||
#include <plat/arm/common/plat_arm.h>
|
||||
#include <plat/common/platform.h>
|
||||
#include <sgi_base_platform_def.h>
|
||||
#include <sgi_soc_platform_def.h>
|
||||
#include <sgi_plat.h>
|
||||
|
||||
#if defined(IMAGE_BL31)
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#include <lib/utils_def.h>
|
||||
|
||||
#include <sgi_base_platform_def.h>
|
||||
#include <sgi_soc_platform_def.h>
|
||||
|
||||
#define PLAT_ARM_CLUSTER_COUNT U(2)
|
||||
#define CSS_SGI_MAX_CPUS_PER_CLUSTER U(8)
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#include <lib/utils_def.h>
|
||||
|
||||
#include <sgi_base_platform_def.h>
|
||||
#include <sgi_soc_platform_def.h>
|
||||
|
||||
#define PLAT_ARM_CLUSTER_COUNT U(2)
|
||||
#define CSS_SGI_MAX_CPUS_PER_CLUSTER U(4)
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include <drivers/arm/gic600_multichip.h>
|
||||
#include <plat/arm/common/plat_arm.h>
|
||||
#include <plat/common/platform.h>
|
||||
#include <sgi_base_platform_def.h>
|
||||
#include <sgi_soc_platform_def.h>
|
||||
#include <sgi_plat.h>
|
||||
|
||||
#if defined(IMAGE_BL31)
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#include <lib/utils_def.h>
|
||||
|
||||
#include <sgi_base_platform_def.h>
|
||||
#include <sgi_soc_platform_def.h>
|
||||
|
||||
#define PLAT_ARM_CLUSTER_COUNT U(2)
|
||||
#define CSS_SGI_MAX_CPUS_PER_CLUSTER U(4)
|
||||
|
|
|
@ -9,12 +9,9 @@
|
|||
|
||||
#include <lib/utils_def.h>
|
||||
#include <lib/xlat_tables/xlat_tables_defs.h>
|
||||
#include <plat/arm/board/common/board_css_def.h>
|
||||
#include <plat/arm/board/common/v2m_def.h>
|
||||
#include <plat/arm/common/arm_def.h>
|
||||
#include <plat/arm/common/arm_spm_def.h>
|
||||
#include <plat/arm/css/common/css_def.h>
|
||||
#include <plat/arm/soc/common/soc_css_def.h>
|
||||
#include <plat/common/common_def.h>
|
||||
|
||||
#define PLATFORM_CORE_COUNT (CSS_SGI_CHIP_COUNT * \
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* Copyright (c) 2020, ARM Limited and Contributors. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#ifndef SGI_SOC_PLATFORM_DEF_H
|
||||
#define SGI_SOC_PLATFORM_DEF_H
|
||||
|
||||
#include <sgi_base_platform_def.h>
|
||||
#include <plat/arm/board/common/board_css_def.h>
|
||||
#include <plat/arm/board/common/v2m_def.h>
|
||||
#include <plat/arm/soc/common/soc_css_def.h>
|
||||
|
||||
#endif /* SGI_SOC_PLATFORM_DEF_H */
|
Loading…
Reference in New Issue