soc: Add BL31 for Cavium CN81xx Soc

* Add BL31.elf compiled using coreboot toolchain
* Add README, LICENSE and VERSION
* ATF Version 1.5
* Based on commit d48f193d11b4d4dca2675646ad76147f2d4765f2
* https://github.com/9elements/arm-trusted-firmware/commits/coreboot_bl31_blob
* Added here as blob as code is not upstream
* Can be removed as soon as it's upstream

BUG=none
BRANCH=none
TEST=none

Change-Id: I344ef2f6c15fd9a7a8f1777f4bf9b8def4a30128
Signed-off-by: Martin Roth <martinroth@google.com>
Original-Commit-Id: 372012e8e1d0d01f3e77ff73b118665b41ff68b6
Original-Change-Id: I99128cd05735c6dc429d51d642d6afe3f513be3e
Original-Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://chromium-review.googlesource.com/1153081
Commit-Ready: Martin Roth <martinroth@chromium.org>
Tested-by: Martin Roth <martinroth@chromium.org>
Reviewed-by: Martin Roth <martinroth@chromium.org>
diff --git a/soc/cavium/cn81xx/LICENSE b/soc/cavium/cn81xx/LICENSE
new file mode 100644
index 0000000..7aa1f69
--- /dev/null
+++ b/soc/cavium/cn81xx/LICENSE
@@ -0,0 +1,31 @@
+                          License Agreement
+               For Open Source Computer Vision Library
+                       (3-clause BSD License)
+
+Copyright 2018       Facebook, Inc.
+Copyright 2003-2017  Cavium Inc.  <support@cavium.com>
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+  * Redistributions of source code must retain the above copyright notice,
+    this list of conditions and the following disclaimer.
+
+  * Redistributions in binary form must reproduce the above copyright notice,
+    this list of conditions and the following disclaimer in the documentation
+    and/or other materials provided with the distribution.
+
+  * Neither the names of the copyright holders nor the names of the contributors
+    may be used to endorse or promote products derived from this software
+    without specific prior written permission.
+
+This software is provided by the copyright holders and contributors "as is" and
+any express or implied warranties, including, but not limited to, the implied
+warranties of merchantability and fitness for a particular purpose are disclaimed.
+In no event shall copyright holders or contributors be liable for any direct,
+indirect, incidental, special, exemplary, or consequential damages
+(including, but not limited to, procurement of substitute goods or services;
+loss of use, data, or profits; or business interruption) however caused
+and on any theory of liability, whether in contract, strict liability,
+or tort (including negligence or otherwise) arising in any way out of
+the use of this software, even if advised of the possibility of such damage.
diff --git a/soc/cavium/cn81xx/README b/soc/cavium/cn81xx/README
new file mode 100644
index 0000000..f67d5bf
--- /dev/null
+++ b/soc/cavium/cn81xx/README
@@ -0,0 +1,4 @@
+Fork of https://github.com/ARM-software/arm-trusted-firmware
+Version 1.5 based on commit d48f193d11b4d4dca2675646ad76147f2d4765f2
+Source is available at:
+https://github.com/9elements/arm-trusted-firmware/commits/coreboot_bl31_blob
diff --git a/soc/cavium/cn81xx/VERSION b/soc/cavium/cn81xx/VERSION
new file mode 100644
index 0000000..64e27b1
--- /dev/null
+++ b/soc/cavium/cn81xx/VERSION
@@ -0,0 +1,9 @@
+version          : ATF 1.5-117f85dd
+release date     : 07-19-2018
+supported silicon: Cavium CN81XX
+ERRATA           : -
+toolchain version: GCC 6.3.0
+ABI version      : 1.5
+arch             : aarch64
+instruction      : Include into coreboot's CBFS and build with
+                   CONFIG_ARM64_USE_ARM_TRUSTED_FIRMWARE
diff --git a/soc/cavium/cn81xx/bl31.elf b/soc/cavium/cn81xx/bl31.elf
new file mode 100755
index 0000000..e0ba702
--- /dev/null
+++ b/soc/cavium/cn81xx/bl31.elf
Binary files differ