From: Sandrine Bailleux Date: Thu, 11 May 2017 13:30:20 +0000 (+0100) Subject: Tegra: Break circular dependency in platform header files X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=24c287be896c1bd7eead09f5c90b52485fcfc1e5;p=project%2Fbcm63xx%2Fatf.git Tegra: Break circular dependency in platform header files 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 --- diff --git a/plat/nvidia/tegra/include/t132/tegra_def.h b/plat/nvidia/tegra/include/t132/tegra_def.h index 065989d3..fcb074a7 100644 --- a/plat/nvidia/tegra/include/t132/tegra_def.h +++ b/plat/nvidia/tegra/include/t132/tegra_def.h @@ -7,8 +7,6 @@ #ifndef __TEGRA_DEF_H__ #define __TEGRA_DEF_H__ -#include - /******************************************************************************* * This value is used by the PSCI implementation during the `SYSTEM_SUSPEND` * call as the `state-id` field in the 'power state' parameter. diff --git a/plat/nvidia/tegra/include/t210/tegra_def.h b/plat/nvidia/tegra/include/t210/tegra_def.h index 641585b1..efa2d501 100644 --- a/plat/nvidia/tegra/include/t210/tegra_def.h +++ b/plat/nvidia/tegra/include/t210/tegra_def.h @@ -7,8 +7,6 @@ #ifndef __TEGRA_DEF_H__ #define __TEGRA_DEF_H__ -#include - /******************************************************************************* * Power down state IDs ******************************************************************************/