summaryrefslogtreecommitdiff
path: root/bl31/head_data.c
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2016-02-03 23:44:36 +0000
committerAndre Przywara <andre.przywara@arm.com>2016-02-04 09:00:42 +0000
commit90fc243e9256775c85f8763e8fa1b2b59e67d0ce (patch)
tree4293050433bd6237830ec824e8334a90bf400af4 /bl31/head_data.c
parent14b6608c9a2eba27ef36cc3e0806c9fa6d5555b0 (diff)
Merge in files from Allwinners lichee BSP tarball
The Pine64 Wiki[1] links to a BSP tarball, among other things containing a dump of an ARM Trusted Firmware source tree with Allwinner changes on top. Since the tarball does not contain any version history information about the changes, this commit is just the diff between the ATF 1.0 release and the files from the Allwinner provided tarball. The executable flag from many source has been removed. [1] http://wiki.pine64.org/index.php/Pine_A64_Software_Release#Linux_BSP_Related
Diffstat (limited to 'bl31/head_data.c')
-rw-r--r--bl31/head_data.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/bl31/head_data.c b/bl31/head_data.c
new file mode 100644
index 0000000..d14dd86
--- /dev/null
+++ b/bl31/head_data.c
@@ -0,0 +1,23 @@
+/*
+ *
+ * Header for semelis
+ *
+ */
+
+#include <head_data.h>
+#include <platform_def.h>
+
+extern char bl31_hash_value[64];
+
+struct spare_boot_ctrl_head monitor_head __attribute__ ((section(".head_data"))) =
+{
+ (0x14000000 |(((sizeof(struct spare_boot_ctrl_head)+sizeof(bl31_hash_value)) / sizeof(int)) & 0x00FFFFFF)),
+ "monitor",
+ 0,
+ 0,
+ 0,
+ 0,
+ "2.0",
+ "monitor",
+ {BL31_BASE}
+};