summaryrefslogtreecommitdiff
path: root/docs/porting/storage.rst
diff options
context:
space:
mode:
authorJimmy Brisson <jimmy.brisson@arm.com>2020-04-02 15:19:16 -0500
committerJimmy Brisson <jimmy.brisson@arm.com>2020-04-20 10:04:20 -0500
commita48f50719a5c957bd67c68d5bdeec582dff6c59c (patch)
tree577b8152c6288aeffb70d7f0a467d4eec405fd09 /docs/porting/storage.rst
parent0862f0152af1f4f9a2661ba993ce3f3c021aa387 (diff)
doc: Move content from Porting Guide
The Porting Guide document is broken down into separate, per-topic documents that all live under the new "Porting" chapter. Change-Id: I269fa06cbf6544ce3c76700d1fcf3a669793c483 Signed-off-by: Paul Beesley <paul.beesley@arm.com> Signed-off-by: Jimmy Brisson <jimmy.brisson@arm.com>
Diffstat (limited to 'docs/porting/storage.rst')
-rw-r--r--docs/porting/storage.rst18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/porting/storage.rst b/docs/porting/storage.rst
new file mode 100644
index 0000000..6074358
--- /dev/null
+++ b/docs/porting/storage.rst
@@ -0,0 +1,18 @@
+Storage abstraction layer
+=========================
+
+In order to improve platform independence and portability a storage abstraction
+layer is used to store test results to non-volatile platform storage.
+
+Each platform should register devices and their drivers via the Storage layer.
+These drivers then need to be initialized in ``tftf_platform_setup()`` function.
+
+It is mandatory to implement at least one storage driver. For the FVP and Juno
+platforms the NOR Flash driver is provided as the default means to store test
+results to storage. The storage layer is described in the header file
+``include/lib/io_storage.h``. The implementation of the common library is in
+``drivers/io/io_storage.c`` and the driver files are located in ``drivers/io/``.
+
+--------------
+
+*Copyright (c) 2019, Arm Limited. All rights reserved.*