Tegra: Break circular dependency in platform header files
authorSandrine Bailleux <sandrine.bailleux@arm.com>
Thu, 11 May 2017 13:30:20 +0000 (14:30 +0100)
committerSandrine Bailleux <sandrine.bailleux@arm.com>
Fri, 12 May 2017 08:34:56 +0000 (09:34 +0100)
For SoCs T132 and T210, the header file 'platform_def.h' used to include
'tegra_def.h' and vice versa. This patch breaks this circular dependency
by making 'tegra_def.h' independent.

Change-Id: I45a00a84e6ab8b93d5e9242a9ff65f03e9102a96
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
plat/nvidia/tegra/include/t132/tegra_def.h
plat/nvidia/tegra/include/t210/tegra_def.h

index 065989d327576c497fa891b381f20bd3497bf3bb..fcb074a78cde9f649edaad0d441070334f94d791 100644 (file)
@@ -7,8 +7,6 @@
 #ifndef __TEGRA_DEF_H__
 #define __TEGRA_DEF_H__
 
-#include <platform_def.h>
-
 /*******************************************************************************
  * This value is used by the PSCI implementation during the `SYSTEM_SUSPEND`
  * call as the `state-id` field in the 'power state' parameter.
index 641585b14967042bbdd3ee2e5d54e88f640fa321..efa2d50109d3609cd68d9b3adfd31e4930f10199 100644 (file)
@@ -7,8 +7,6 @@
 #ifndef __TEGRA_DEF_H__
 #define __TEGRA_DEF_H__
 
-#include <platform_def.h>
-
 /*******************************************************************************
  * Power down state IDs
  ******************************************************************************/