1# 2# Copyright (c) 2013-2020, Arm Limited and Contributors. All rights reserved. 3# 4# SPDX-License-Identifier: BSD-3-Clause 5# 6 7# Default configuration values 8GICV3_SUPPORT_GIC600 ?= 0 9GICV3_IMPL_GIC600_MULTICHIP ?= 0 10GICV3_OVERRIDE_DISTIF_PWR_OPS ?= 0 11GIC_ENABLE_V4_EXTN ?= 0 12GIC_EXT_INTID ?= 0 13 14GICV3_SOURCES += drivers/arm/gic/v3/gicv3_main.c \ 15 drivers/arm/gic/v3/gicv3_helpers.c \ 16 drivers/arm/gic/v3/gicdv3_helpers.c \ 17 drivers/arm/gic/v3/gicrv3_helpers.c 18 19ifeq (${GICV3_OVERRIDE_DISTIF_PWR_OPS}, 0) 20GICV3_SOURCES += drivers/arm/gic/v3/arm_gicv3_common.c 21endif 22 23GICV3_SOURCES += drivers/arm/gic/v3/gic-x00.c 24ifeq (${GICV3_IMPL_GIC600_MULTICHIP}, 1) 25GICV3_SOURCES += drivers/arm/gic/v3/gic600_multichip.c 26endif 27 28# Set GIC-600 support 29$(eval $(call assert_boolean,GICV3_SUPPORT_GIC600)) 30$(eval $(call add_define,GICV3_SUPPORT_GIC600)) 31 32# Set GICv4 extension 33$(eval $(call assert_boolean,GIC_ENABLE_V4_EXTN)) 34$(eval $(call add_define,GIC_ENABLE_V4_EXTN)) 35 36# Set support for extended PPI and SPI range 37$(eval $(call assert_boolean,GIC_EXT_INTID)) 38$(eval $(call add_define,GIC_EXT_INTID)) 39