Merge pull request #168 from sandrine-bailleux/sb/set-default-gic-arch
Define ARM_GIC_ARCH default value for all platforms
This commit is contained in:
commit
54d0911f64
7
Makefile
7
Makefile
|
@ -51,6 +51,9 @@ NS_TIMER_SWITCH := 0
|
||||||
RESET_TO_BL31 := 0
|
RESET_TO_BL31 := 0
|
||||||
# Include FP registers in cpu context
|
# Include FP registers in cpu context
|
||||||
CTX_INCLUDE_FPREGS := 0
|
CTX_INCLUDE_FPREGS := 0
|
||||||
|
# Determine the version of ARM GIC architecture to use for interrupt management
|
||||||
|
# in EL3. The platform port can change this value if needed.
|
||||||
|
ARM_GIC_ARCH := 2
|
||||||
|
|
||||||
|
|
||||||
# Checkpatch ignores
|
# Checkpatch ignores
|
||||||
|
@ -188,6 +191,10 @@ $(eval $(call add_define,RESET_TO_BL31))
|
||||||
$(eval $(call assert_boolean,CTX_INCLUDE_FPREGS))
|
$(eval $(call assert_boolean,CTX_INCLUDE_FPREGS))
|
||||||
$(eval $(call add_define,CTX_INCLUDE_FPREGS))
|
$(eval $(call add_define,CTX_INCLUDE_FPREGS))
|
||||||
|
|
||||||
|
# Process ARM_GIC_ARCH flag
|
||||||
|
$(eval $(call add_define,ARM_GIC_ARCH))
|
||||||
|
|
||||||
|
|
||||||
ASFLAGS += -nostdinc -ffreestanding -Wa,--fatal-warnings \
|
ASFLAGS += -nostdinc -ffreestanding -Wa,--fatal-warnings \
|
||||||
-Werror -Wmissing-include-dirs \
|
-Werror -Wmissing-include-dirs \
|
||||||
-mgeneral-regs-only -D__ASSEMBLY__ \
|
-mgeneral-regs-only -D__ASSEMBLY__ \
|
||||||
|
|
|
@ -82,8 +82,3 @@ BL31_SOURCES += drivers/arm/cci400/cci400.c \
|
||||||
plat/fvp/aarch64/fvp_helpers.S \
|
plat/fvp/aarch64/fvp_helpers.S \
|
||||||
plat/fvp/aarch64/fvp_common.c \
|
plat/fvp/aarch64/fvp_common.c \
|
||||||
plat/fvp/drivers/pwrc/fvp_pwrc.c
|
plat/fvp/drivers/pwrc/fvp_pwrc.c
|
||||||
|
|
||||||
# Flag used by the platform port to determine the version of ARM GIC
|
|
||||||
# architecture to use for interrupt management in EL3.
|
|
||||||
ARM_GIC_ARCH := 2
|
|
||||||
$(eval $(call add_define,ARM_GIC_ARCH))
|
|
||||||
|
|
Loading…
Reference in New Issue