aboutsummaryrefslogtreecommitdiffstats
path: root/plat
diff options
context:
space:
mode:
authorVarun Wadekar <vwadekar@nvidia.com>2018-12-21 10:55:42 -0800
committerVarun Wadekar <vwadekar@nvidia.com>2020-03-21 19:00:05 -0700
commit42080d489231614a19865c5b6b962e55e94c6f5a (patch)
tree0cc54234cf36d1696bd00961c84bed0bcde71025 /plat
parenta5bfcad8518f84beb250ea697b71e5fc7c0cf3a5 (diff)
downloadplatform_external_arm-trusted-firmware-42080d489231614a19865c5b6b962e55e94c6f5a.tar.gz
platform_external_arm-trusted-firmware-42080d489231614a19865c5b6b962e55e94c6f5a.tar.bz2
platform_external_arm-trusted-firmware-42080d489231614a19865c5b6b962e55e94c6f5a.zip
Tegra: remove circular dependency with common_def.h
This patch stops including common_def.h from platform_def.h to fix a circular depoendency between them. This means platform_def.h now has to define the linker macros: * PLATFORM_LINKER_FORMAT * PLATFORM_LINKER_ARCH Change-Id: Icd540b1bd32fb37e0e455e9146c8b7f4b314e012 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'plat')
-rw-r--r--plat/nvidia/tegra/include/platform_def.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/plat/nvidia/tegra/include/platform_def.h b/plat/nvidia/tegra/include/platform_def.h
index 817f480a2..8a8a0d268 100644
--- a/plat/nvidia/tegra/include/platform_def.h
+++ b/plat/nvidia/tegra/include/platform_def.h
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2020, NVIDIA Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -25,6 +26,12 @@
#define PLATFORM_LINKER_FORMAT "elf64-littleaarch64"
#define PLATFORM_LINKER_ARCH aarch64
+/*
+ * Platform binary types for linking
+ */
+#define PLATFORM_LINKER_FORMAT "elf64-littleaarch64"
+#define PLATFORM_LINKER_ARCH aarch64
+
/*******************************************************************************
* Generic platform constants
******************************************************************************/