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,4 +1,4 @@
|
||||||
# Copyright 2020-2021 NXP
|
# Copyright 2020-2022 NXP
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# 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)))
|
$(eval $(call add_define_val,CACHE_WRITEBACK_GRANULE,$(CACHE_WRITEBACK_GRANULE)))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (${INTERCONNECT}, "CCI400")
|
ifneq (${INTERCONNECT},)
|
||||||
$(eval $(call add_define,NXP_HAS_${INTERCONNECT}))
|
$(eval $(call add_define,NXP_HAS_${INTERCONNECT}))
|
||||||
|
ifeq (${INTERCONNECT}, CCI400)
|
||||||
ICNNCT_ID := 0x420
|
ICNNCT_ID := 0x420
|
||||||
$(eval $(call add_define,ICNNCT_ID))
|
$(eval $(call add_define,ICNNCT_ID))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (${INTERCONNECT}, "CCN508")
|
|
||||||
$(eval $(call add_define,NXP_HAS_CCN508))
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (${CHASSIS},)
|
ifneq (${CHASSIS},)
|
||||||
|
|
Loading…
Reference in New Issue