Tegra: remove circular dependency with common_def.h
authorVarun Wadekar <vwadekar@nvidia.com>
Fri, 21 Dec 2018 18:55:42 +0000 (10:55 -0800)
committerVarun Wadekar <vwadekar@nvidia.com>
Thu, 7 Feb 2019 16:47:01 +0000 (08:47 -0800)
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>
plat/nvidia/tegra/include/platform_def.h

index 106882ac87d948396d08779a9d1fa691d5456c56..f68b8989b4950c0055e5b157e50c66d0c4b0e0fa 100644 (file)
@@ -9,10 +9,15 @@
 
 #include <arch.h>
 #include <lib/utils_def.h>
-#include <plat/common/common_def.h>
 
 #include <tegra_def.h>
 
+/*
+ * Platform binary types for linking
+ */
+#define PLATFORM_LINKER_FORMAT         "elf64-littleaarch64"
+#define PLATFORM_LINKER_ARCH           aarch64
+
 /*******************************************************************************
  * Generic platform constants
  ******************************************************************************/