diff options
author | Kalyani Chidambaram <kalyanic@nvidia.com> | 2018-12-19 11:06:14 -0800 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2020-03-21 19:00:05 -0700 |
commit | 2bf1085d58c3c934be1873f758ddce626601297a (patch) | |
tree | ce55d8697f891a96fbd6cc5da4dc63cc41d1c452 /plat/nvidia/tegra/include/platform_def.h | |
parent | 577aca86627ce8b6cb89bfb25f8e1d0689aeaef6 (diff) | |
download | trusted-firmware-a-2bf1085d58c3c934be1873f758ddce626601297a.tar.gz |
Tegra: remove support for SEPARATE_CODE_AND_RODATA=0
Tegra platforms will not be supporting SEPARATE_CODE_AND_RODATA=0.
This patch uses the common macros provided by bl_common.h as a result
and adds a check to assert if SEPARATE_CODE_AND_RODATA set is not set
to '1'.
Change-Id: I376ea60c00ad69cb855d89418bdb80623f14800e
Signed-off-by: Kalyani Chidambaram <kalyanic@nvidia.com>
Diffstat (limited to 'plat/nvidia/tegra/include/platform_def.h')
-rw-r--r-- | plat/nvidia/tegra/include/platform_def.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plat/nvidia/tegra/include/platform_def.h b/plat/nvidia/tegra/include/platform_def.h index eb55def4a5..817f480a23 100644 --- a/plat/nvidia/tegra/include/platform_def.h +++ b/plat/nvidia/tegra/include/platform_def.h @@ -12,6 +12,13 @@ #include <tegra_def.h> +/******************************************************************************* + * Check and error if SEPARATE_CODE_AND_RODATA is not set to 1 + ******************************************************************************/ +#if !SEPARATE_CODE_AND_RODATA +#error "SEPARATE_CODE_AND_RODATA should be set to 1" +#endif + /* * Platform binary types for linking */ @@ -72,4 +79,5 @@ #define MAX_IO_DEVICES U(0) #define MAX_IO_HANDLES U(0) + #endif /* PLATFORM_DEF_H */ |