summaryrefslogtreecommitdiffstats
path: root/include/cavium/atf_part.h
diff options
context:
space:
mode:
authorSergey Temerkhanov <s.temerkhanov@gmail.com>2015-10-14 09:55:51 -0700
committerTom Rini <trini@konsulko.com>2016-01-19 22:26:12 +0000
commit900f88f3b08b71becd5cecba0687e8eb24fc342b (patch)
tree99680f9ca2a2156890098010a41fde7584e59ab6 /include/cavium/atf_part.h
parent746f985add5244c00a5dbb19bc67ceab52566a91 (diff)
downloadblackbird-obmc-uboot-900f88f3b08b71becd5cecba0687e8eb24fc342b.tar.gz
blackbird-obmc-uboot-900f88f3b08b71becd5cecba0687e8eb24fc342b.zip
armv8: cavium: Add an implementation of ATF calling functions
This commit adds functions issuing calls to the product-specific ATF services Signed-off-by: Sergey Temerkhanov <s.temerkhanov@gmail.com> Signed-off-by: Radha Mohan Chintakuntla <rchintakuntla@cavium.com>
Diffstat (limited to 'include/cavium/atf_part.h')
-rw-r--r--include/cavium/atf_part.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/cavium/atf_part.h b/include/cavium/atf_part.h
new file mode 100644
index 0000000000..182f6f4b88
--- /dev/null
+++ b/include/cavium/atf_part.h
@@ -0,0 +1,26 @@
+/**
+ * (C) Copyright 2014, Cavium Inc.
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+**/
+
+#ifndef __ATF_PART_H__
+#define __ATF_PART_H__
+
+struct storage_partition {
+ unsigned int type;
+ unsigned int size;
+ unsigned long offset;
+};
+
+enum {
+ PARTITION_NBL1FW_REST = 0,
+ PARTITION_BL2_BL31 = 1,
+ PARTITION_UBOOT = 2,
+ PARTITION_UEFI = 2,
+ PARTITION_KERNEL = 3,
+ PARTITION_DEVICE_TREE = 4,
+ PARTITION_LAST,
+};
+
+#endif
OpenPOWER on IntegriCloud