mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-18 02:24:18 +00:00
refactor(layerscape): refine comparison of inerconnection
Refine the code to be compatible with new CCN504 which is used by ls2088a. Signed-off-by: Biwen Li <biwen.li@nxp.com> Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com> Change-Id: I2e2b3bbb9392862b04bf8a89dfb9575bf4be974a
This commit is contained in:
parent
602cf53b6f
commit
ceae374357
1 changed files with 3 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
# Copyright 2020-2021 NXP
|
||||
# Copyright 2020-2022 NXP
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
#
|
||||
|
@ -11,14 +11,12 @@ $(eval CACHE_WRITEBACK_GRANULE=$(shell echo $$((1 << $(CACHE_LINE)))))
|
|||
$(eval $(call add_define_val,CACHE_WRITEBACK_GRANULE,$(CACHE_WRITEBACK_GRANULE)))
|
||||
endif
|
||||
|
||||
ifeq (${INTERCONNECT}, "CCI400")
|
||||
ifneq (${INTERCONNECT},)
|
||||
$(eval $(call add_define,NXP_HAS_${INTERCONNECT}))
|
||||
ifeq (${INTERCONNECT}, CCI400)
|
||||
ICNNCT_ID := 0x420
|
||||
$(eval $(call add_define,ICNNCT_ID))
|
||||
endif
|
||||
|
||||
ifeq (${INTERCONNECT}, "CCN508")
|
||||
$(eval $(call add_define,NXP_HAS_CCN508))
|
||||
endif
|
||||
|
||||
ifneq (${CHASSIS},)
|
||||
|
|
Loading…
Add table
Reference in a new issue