summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Porotchkin <kostap@marvell.com>2018-07-26 14:01:59 +0300
committerKonstantin Porotchkin <kostap@marvell.com>2018-09-03 14:48:36 +0300
commit3f24be345c811a304615bc1b37f645716e707aa5 (patch)
tree3e00950e9528313988ff803eae64569834f3d738
parentef16369076d3bf0619f4a2bc90cf24949bb1d304 (diff)
fix: a8k-p: Change the way Makefile tests for PALLADIUM value
Change the A8K+ common makefile in the way that PALLADIUM variable is always checked for value 1 and not 0, since PALLADIUM=0 is usually not explicitly set in the compilation string. Instead, the default value of 0 is assigned to PALLADIUM variable by lately included make files in order to handle the preprocessor directives in source files. Change-Id: I9793e5808c56960a17cab0bab6ac4204fd3cbc27 Signed-off-by: Konstantin Porotchkin <kostap@marvell.com> Reviewed-on: http://vgitil04.il.marvell.com:8080/58446 Tested-by: iSoC Platform CI <ykjenk@marvell.com> Reviewed-by: Igal Liberman <igall@marvell.com>
-rw-r--r--plat/marvell/a8k-p/common/a8kp_common.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/marvell/a8k-p/common/a8kp_common.mk b/plat/marvell/a8k-p/common/a8kp_common.mk
index 26841ba6..87832a45 100644
--- a/plat/marvell/a8k-p/common/a8kp_common.mk
+++ b/plat/marvell/a8k-p/common/a8kp_common.mk
@@ -94,7 +94,7 @@ MARVELL_BL31_DRV := $(MARVELL_DRV_BASE)/amb_adec.c \
$(MARVELL_DRV_BASE)/icu.c \
$(MARVELL_DRV_BASE)/iob.c
-ifeq (${PALLADIUM}, 0)
+ifneq (${PALLADIUM},1)
MARVELL_BL31_DRV += $(MARVELL_DRV_BASE)/comphy/phy-comphy-cp110.c
endif