diff options
-rw-r--r-- | plat/marvell/a8k-p/common/a8kp_common.mk | 7 | ||||
-rw-r--r-- | plat/marvell/common/mrvl_sip_svc.c | 4 |
2 files changed, 7 insertions, 4 deletions
diff --git a/plat/marvell/a8k-p/common/a8kp_common.mk b/plat/marvell/a8k-p/common/a8kp_common.mk index d1175a3d..26841ba6 100644 --- a/plat/marvell/a8k-p/common/a8kp_common.mk +++ b/plat/marvell/a8k-p/common/a8kp_common.mk @@ -92,8 +92,11 @@ MARVELL_BL1_DRV := $(MARVELL_DRV_BASE)/ccu.c \ MARVELL_BL31_DRV := $(MARVELL_DRV_BASE)/amb_adec.c \ $(MARVELL_DRV_BASE)/cache_llc.c \ $(MARVELL_DRV_BASE)/icu.c \ - $(MARVELL_DRV_BASE)/iob.c \ - $(MARVELL_DRV_BASE)/comphy/phy-comphy-cp110.c + $(MARVELL_DRV_BASE)/iob.c + +ifeq (${PALLADIUM}, 0) +MARVELL_BL31_DRV += $(MARVELL_DRV_BASE)/comphy/phy-comphy-cp110.c +endif MARVELL_MOCHI_DRV := $(MARVELL_DRV_BASE)/mochi/ap810_setup.c \ $(MARVELL_DRV_BASE)/mochi/cp110_setup.c diff --git a/plat/marvell/common/mrvl_sip_svc.c b/plat/marvell/common/mrvl_sip_svc.c index ec293afa..499e096e 100644 --- a/plat/marvell/common/mrvl_sip_svc.c +++ b/plat/marvell/common/mrvl_sip_svc.c @@ -76,7 +76,7 @@ uintptr_t mrvl_sip_smc_handler(uint32_t smc_fid, } switch (smc_fid) { - +#if PALLADIUM == 0 /* Comphy related FID's */ case MV_SIP_COMPHY_POWER_ON: /* x1: comphy_base, x2: comphy_index, x3: comphy_mode */ @@ -98,7 +98,7 @@ uintptr_t mrvl_sip_smc_handler(uint32_t smc_fid, /* x1: comphy_base, x2: comphy_index, x3: mode, x4: command */ ret = mvebu_cp110_comphy_digital_reset(x1, x2, x3, x4); SMC_RET1(handle, ret); - +#endif /* Miscellaneous FID's' */ case MV_SIP_DRAM_SIZE: /* x1: ap_base_addr */ |