aboutsummaryrefslogtreecommitdiff
path: root/plat/nvidia/tegra/include/platform_def.h
diff options
context:
space:
mode:
authorVarun Wadekar <vwadekar@nvidia.com>2019-03-01 10:18:35 -0800
committerVarun Wadekar <vwadekar@nvidia.com>2019-03-01 10:22:54 -0800
commit8d56e24bb397cacbc8dc47b43ce64f35c06afb04 (patch)
tree285b09139fa7a5601665a75b4668c6ff55e11a9c /plat/nvidia/tegra/include/platform_def.h
parentaf3816789db46f69fca900e0fb8d086602219bb9 (diff)
downloadtrusted-firmware-a-8d56e24bb397cacbc8dc47b43ce64f35c06afb04.tar.gz
Tegra: dummy support for the io_storage backend
This patch provides dummy macros and platform files to compile the io_storage driver backend. This patch is necessary to remove the "--unresolved=el3_panic" linker flag from Tegra's makefiles and allow us to revert this workaround, previously suggested by the ARM toolchain team. The "--unresolved=el3_panic" flag actually was a big hammer that allowed Tegra platforms to work with armlink previously but it masks legit errors with the code as well. Change-Id: I0421d35657823215229f84231896b84167f90548 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'plat/nvidia/tegra/include/platform_def.h')
-rw-r--r--plat/nvidia/tegra/include/platform_def.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/plat/nvidia/tegra/include/platform_def.h b/plat/nvidia/tegra/include/platform_def.h
index f68b8989b4..eb55def4a5 100644
--- a/plat/nvidia/tegra/include/platform_def.h
+++ b/plat/nvidia/tegra/include/platform_def.h
@@ -66,4 +66,10 @@
#define CACHE_WRITEBACK_SHIFT 6
#define CACHE_WRITEBACK_GRANULE (0x40) /* (U(1) << CACHE_WRITEBACK_SHIFT) */
+/*******************************************************************************
+ * Dummy macros to compile io_storage support
+ ******************************************************************************/
+#define MAX_IO_DEVICES U(0)
+#define MAX_IO_HANDLES U(0)
+
#endif /* PLATFORM_DEF_H */