blob: 1317e7d545cf28f41bb60fdcd9b61d4ae6126669 [file] [log] [blame]
Jimmy Brissonff08d3e2020-04-02 15:19:27 -05001Storage Abstraction Layer
Jimmy Brissona48f5072020-04-02 15:19:16 -05002=========================
3
4In order to improve platform independence and portability a storage abstraction
5layer is used to store test results to non-volatile platform storage.
6
Jimmy Brissonff08d3e2020-04-02 15:19:27 -05007Each platform should register devices and their drivers via the storage layer.
8These drivers then need to be initialized using the ``tftf_platform_setup()``
9function.
Jimmy Brissona48f5072020-04-02 15:19:16 -050010
Jimmy Brissonff08d3e2020-04-02 15:19:27 -050011.. warning::
12 It is mandatory to implement at least one storage driver.
13
14For the FVP and Juno platforms the NOR Flash driver is provided as the default
15means to store test results to storage. The storage layer is described in the
16header file ``include/lib/io_storage.h``. The implementation of the common
17library is in ``drivers/io/io_storage.c`` and the driver files are located in
18``drivers/io/``.
Jimmy Brissona48f5072020-04-02 15:19:16 -050019
20--------------
21
22*Copyright (c) 2019, Arm Limited. All rights reserved.*