mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 01:54:22 +00:00
feat(tc): specify MHU version based on platform
Platforms older than TC2 contain MHUv2 well as newer platforms contain MHUv3. Set the Makefile variable accordingly. Change-Id: I00b83a34908cdbf7d1d9ac39728e3fa6ef449d2c Signed-off-by: Jackson Cooper-Driver <jackson.cooper-driver@arm.com> Signed-off-by: Leo Yan <leo.yan@arm.com>
This commit is contained in:
parent
f2596ff1a8
commit
04085d6eb4
1 changed files with 7 additions and 0 deletions
|
@ -71,6 +71,13 @@ CSS_LOAD_SCP_IMAGES := 1
|
|||
# Save DSU PMU registers on cluster off and restore them on cluster on
|
||||
PRESERVE_DSU_PMU_REGS := 1
|
||||
|
||||
# Specify MHU type based on platform
|
||||
ifneq ($(filter ${TARGET_PLATFORM}, 2),)
|
||||
PLAT_MHU_VERSION := 2
|
||||
else
|
||||
PLAT_MHU_VERSION := 3
|
||||
endif
|
||||
|
||||
# Include GICv3 driver files
|
||||
include drivers/arm/gic/v3/gicv3.mk
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue