aboutsummaryrefslogtreecommitdiff
path: root/plat/arm/board/common/rotpk/arm_dev_rotpk.S
diff options
context:
space:
mode:
Diffstat (limited to 'plat/arm/board/common/rotpk/arm_dev_rotpk.S')
-rw-r--r--plat/arm/board/common/rotpk/arm_dev_rotpk.S9
1 files changed, 8 insertions, 1 deletions
diff --git a/plat/arm/board/common/rotpk/arm_dev_rotpk.S b/plat/arm/board/common/rotpk/arm_dev_rotpk.S
index 80f2192e4..38f91fe5f 100644
--- a/plat/arm/board/common/rotpk/arm_dev_rotpk.S
+++ b/plat/arm/board/common/rotpk/arm_dev_rotpk.S
@@ -1,10 +1,17 @@
/*
- * Copyright (c) 2020, ARM Limited. All rights reserved.
+ * Copyright (c) 2021, ARM Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
+/* diphda platform provides custom values for the macros defined in
+ * arm_def.h , so only platform_def.h needs to be included
+ */
+#if !defined(TARGET_PLATFORM_FVP) && !defined(TARGET_PLATFORM_FPGA)
#include "plat/arm/common/arm_def.h"
+#else
+#include <platform_def.h>
+#endif
.global arm_rotpk_header
.global arm_rotpk_header_end