Jimmy Brisson | a48f507 | 2020-04-02 15:19:16 -0500 | [diff] [blame^] | 1 | Storage abstraction layer |
| 2 | ========================= |
| 3 | |
| 4 | In order to improve platform independence and portability a storage abstraction |
| 5 | layer is used to store test results to non-volatile platform storage. |
| 6 | |
| 7 | Each platform should register devices and their drivers via the Storage layer. |
| 8 | These drivers then need to be initialized in ``tftf_platform_setup()`` function. |
| 9 | |
| 10 | It is mandatory to implement at least one storage driver. For the FVP and Juno |
| 11 | platforms the NOR Flash driver is provided as the default means to store test |
| 12 | results to storage. The storage layer is described in the header file |
| 13 | ``include/lib/io_storage.h``. The implementation of the common library is in |
| 14 | ``drivers/io/io_storage.c`` and the driver files are located in ``drivers/io/``. |
| 15 | |
| 16 | -------------- |
| 17 | |
| 18 | *Copyright (c) 2019, Arm Limited. All rights reserved.* |