aboutsummaryrefslogtreecommitdiff
path: root/plat/marvell/armada/a8k/common/plat_pm_trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'plat/marvell/armada/a8k/common/plat_pm_trace.c')
-rw-r--r--plat/marvell/armada/a8k/common/plat_pm_trace.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plat/marvell/armada/a8k/common/plat_pm_trace.c b/plat/marvell/armada/a8k/common/plat_pm_trace.c
index f589ff31b..e02a89386 100644
--- a/plat/marvell/armada/a8k/common/plat_pm_trace.c
+++ b/plat/marvell/armada/a8k/common/plat_pm_trace.c
@@ -8,10 +8,11 @@
#include <lib/mmio.h>
#include <plat/common/platform.h>
+#if MSS_SUPPORT
#include <mss_mem.h>
-#include <plat_pm_trace.h>
#ifdef PM_TRACE_ENABLE
+#include <plat_pm_trace.h>
/* core trace APIs */
core_trace_func funcTbl[PLATFORM_CORE_COUNT] = {
@@ -90,3 +91,4 @@ void pm_core_3_trace(unsigned int trace)
AP_MSS_ATF_TRACE_SIZE_MASK));
}
#endif /* PM_TRACE_ENABLE */
+#endif /* MSS_SUPPORT */