aboutsummaryrefslogtreecommitdiff
path: root/plat/allwinner/common/include/platform_def.h
diff options
context:
space:
mode:
authorAmit Singh Tomar <amittomer25@gmail.com>2018-06-20 00:44:50 +0530
committerAndre Przywara <andre.przywara@arm.com>2018-06-28 23:47:30 +0100
commitdab901f83a9fd65aba53551301912375cf97a6d6 (patch)
treee55231c76514dc9958a1a3669864db69cb800e41 /plat/allwinner/common/include/platform_def.h
parentd5a0491c811d7e7558c0f7b14c805d804721c854 (diff)
downloadtrusted-firmware-a-dab901f83a9fd65aba53551301912375cf97a6d6.tar.gz
allwinner: Add BL32 (corresponds to Trusted OS) support
This patch is an attempt to run Trusted OS (OP-TEE OS being one of them) along side BL31 image. ATF supports multiple SPD's that can take dispatcher name (opteed for OP-TEE OS) as an input using the 'SPD=<dispatcher name>' option during bl31 build. Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com>
Diffstat (limited to 'plat/allwinner/common/include/platform_def.h')
-rw-r--r--plat/allwinner/common/include/platform_def.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/plat/allwinner/common/include/platform_def.h b/plat/allwinner/common/include/platform_def.h
index ca7db2f241..2752aa4d32 100644
--- a/plat/allwinner/common/include/platform_def.h
+++ b/plat/allwinner/common/include/platform_def.h
@@ -42,4 +42,10 @@
#define PLATFORM_MMAP_REGIONS 4
#define PLATFORM_STACK_SIZE (0x1000 / PLATFORM_CORE_COUNT)
+#ifndef SPD_none
+#ifndef BL32_BASE
+#define BL32_BASE SUNXI_DRAM_BASE
+#endif
+#endif
+
#endif /* __PLATFORM_DEF_H__ */